Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created database based menus. Bound surveymodel with the surveymenu model Refactored some templates and partials to be called correctly
- Loading branch information
Showing
20 changed files
with
1,160 additions
and
446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
class SurveymenuController extends Controller | ||
{ | ||
public function actionIndex() | ||
{ | ||
$this->render('index'); | ||
} | ||
|
||
// Uncomment the following methods and override them if needed | ||
/* | ||
public function filters() | ||
{ | ||
// return the filter configuration for this controller, e.g.: | ||
return array( | ||
'inlineFilterName', | ||
array( | ||
'class'=>'path.to.FilterClass', | ||
'propertyName'=>'propertyValue', | ||
), | ||
); | ||
} | ||
public function actions() | ||
{ | ||
// return external action classes, e.g.: | ||
return array( | ||
'action1'=>'path.to.ActionClass', | ||
'action2'=>array( | ||
'class'=>'path.to.AnotherActionClass', | ||
'propertyName'=>'propertyValue', | ||
), | ||
); | ||
} | ||
*/ | ||
} |
36 changes: 36 additions & 0 deletions
36
application/controllers/admin/SurveymenuEntryController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
class SurveymenuEntryController extends Controller | ||
{ | ||
public function actionIndex() | ||
{ | ||
$this->render('index'); | ||
} | ||
|
||
// Uncomment the following methods and override them if needed | ||
/* | ||
public function filters() | ||
{ | ||
// return the filter configuration for this controller, e.g.: | ||
return array( | ||
'inlineFilterName', | ||
array( | ||
'class'=>'path.to.FilterClass', | ||
'propertyName'=>'propertyValue', | ||
), | ||
); | ||
} | ||
public function actions() | ||
{ | ||
// return external action classes, e.g.: | ||
return array( | ||
'action1'=>'path.to.ActionClass', | ||
'action2'=>array( | ||
'class'=>'path.to.AnotherActionClass', | ||
'propertyName'=>'propertyValue', | ||
), | ||
); | ||
} | ||
*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.