$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) : \Menuitem
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(\Menuitem $model)
Performs the AJAX validation.
| \Menuitem | $model | the model to be validated |