string
— the default layout for the views. Defaults to '//layouts/column2', meaning
using two-column layout. See 'protected/views/layouts/column2.php'.
$menu
$menu : array
Type
array
— context menu items. This property will be assigned to {@link CMenu::items}.
$breadcrumbs
$breadcrumbs : array
Type
array
— the breadcrumbs of the current page. The value of this property will
be assigned to {@link CBreadcrumbs::links}. Please refer to {@link CBreadcrumbs::links}
for more details on how to specify this property.
$mainMenu
$mainMenu :
Type
$subMenu
$subMenu :
Type
$mainEMenu
$mainEMenu :
Type
$subEMenu
$subEMenu :
Type
Methods
init()
init()
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()
Displays a particular model.
actionCreate()
actionCreate()
Creates a new model.
If creation is successful, the browser will be redirected to the 'view' page.
actionUpdate()
actionUpdate(integer $id)
Updates a particular model.
If update is successful, the browser will be redirected to the 'view' page.
Parameters
integer
$id
the ID of the model to be updated
actionDelete()
actionDelete(integer $id)
Deletes a particular model.
If deletion is successful, the browser will be redirected to the 'admin' page.
Parameters
integer
$id
the ID of the model to be deleted
actionIndex()
actionIndex()
Lists all models.
actionAdmin()
actionAdmin()
Manages all models.
actionRouterjoin()
actionRouterjoin()
Manages access to routers .
actionMove()
actionMove()
Connect routers to SNMP access
loadModel()
loadModel( $id)
Returns the data model based on the primary key given in the GET variable.
If the data model is not found, an HTTP exception will be raised.