string
— the default layout for the views. Defaults to '//layouts/column2', meaning
using two-column layout. See 'protected/views/layouts/column2.php'.
Methods
filters()
filters() : array
Returns
array
—
action filters
accessRules()
accessRules() : array
Specifies the access control rules.
This method is used by the 'accessControl' filter.
Returns
array
—
access control rules
actionView()
actionView(mixed $id) : mixed
Parameters
mixed
$id
Returns
mixed
—
actionCreate()
actionCreate() : mixed
Creates a new model.
If creation is successful, the browser will be redirected to the 'view' page.
Returns
mixed
—
actionUpdate()
actionUpdate(int $id) : mixed
Updates a particular model.
If update is successful, the browser will be redirected to the 'view' page.
Parameters
int
$id
the ID of the model to be updated
Returns
mixed
—
actionInlineUpdate()
actionInlineUpdate() : mixed
Updates a field in the model.
Returns
mixed
—
actionDelete()
actionDelete(int $id) : mixed
Deletes a particular model.
If deletion is successful, the browser will be redirected to the 'index' page.