$layout
$layout : string
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
loadModel(integer $id) : \AccessType
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.
| integer | $id | the ID of the model to be loaded |
the loaded model
performAjaxValidation(\AccessType $model)
Performs the AJAX validation.
| \AccessType | $model | the model to be validated |