actionAdmin()
actionCreate()
actionDelete()
actionIndex()
actionPass()
actionResetPassword()
actionUpdate()
actionView()
filters()
loadModel()
performAjaxValidation()
randString()
$breadcrumbs
$layout
$menu
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
actionAdmin()
actionCreate()
If creation is successful, the browser will be redirected to the 'view' page.
actionDelete(integer $id)
If deletion is successful, the browser will be redirected to the 'admin' page.
integerthe ID of the model to be deleted
actionIndex()
actionPass(integer $id)
Also restricts accessing other users' passwords
integerthe ID of the model to be updated
actionResetPassword($id)
\CHttpException |
|---|
actionUpdate(integer $id)
If update is successful, the browser will be redirected to the 'view' page.
integerthe ID of the model to be updated
actionView(integer $id)
integerthe ID of the model to be displayed
filters() : array
arrayaction filtersloadModel(integer $id)
If the data model is not found, an HTTP exception will be raised.
integerthe ID of the model to be loaded
performAjaxValidation(\CModel $model)
\CModelthe model to be validated
randString() : string
string$layout : string