Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
package | Default |
---|
accessRules(): array
This method is used by the 'accessControl' filter.
array
access control rules
actionApprove()
If approval is successful, the browser will be redirected to the comment index page.
actionDelete()
If deletion is successful, the browser will be redirected to the 'index' page.
actionIndex()
actionUpdate()
If update is successful, the browser will be redirected to the 'view' page.
filters(): array
array
action filters
loadModel()
If the data model is not found, an HTTP exception will be raised.
layout :string
var | the default layout for the controller view. Defaults to 'column1', meaning using a single column layout. See 'protected/views/layouts/column1.php'. |
---|
string
_model :\CActiveRecord
var | the currently loaded data model instance. |
---|
\CActiveRecord