Свойство | Тип | Описание | |
---|---|---|---|
$layout | the default layout for the views. Defaults to '//layouts/column2', meaning using two-column layout. See 'protected/views/layouts/column2.php'. | ||
$parent |
Метод | Описание | |
---|---|---|
actionAdmin ( ) | Manages all models. | |
actionCreate ( ) | Creates a new model. | |
actionDelete ( integer $id ) | Deletes a particular model. | |
actionIndex ( ) | Lists all models. | |
actionUpdate ( integer $id ) | Updates a particular model. | |
actionView ( integer $id ) | Displays a particular model. | |
init ( ) | ||
loadModel ( $id ) | Returns the data model based on the primary key given in the GET variable. |
Метод | Описание | |
---|---|---|
performAjaxValidation ( $model ) | Performs the AJAX validation. |
public actionCreate ( ) |
public actionDelete ( integer $id ) | ||
$id | integer | the ID of the model to be deleted |
public actionUpdate ( integer $id ) | ||
$id | integer | the ID of the model to be updated |
public actionView ( integer $id ) | ||
$id | integer | the ID of the model to be displayed |
public loadModel ( $id ) |
protected performAjaxValidation ( $model ) |
public $layout |