PHP Класс AdminUserController

Наследование: extends AdminController
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$layout the default layout for the views. Defaults to '//layouts/column2', meaning using two-column layout. See 'protected/views/layouts/column2.php'.

Открытые методы

Метод Описание
accessRules ( ) : array Specifies the access control rules.
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.
filters ( ) : array
loadModel ( $id ) Returns the data model based on the primary key given in the GET variable.

Защищенные методы

Метод Описание
performAjaxValidation ( $model ) Performs the AJAX validation.

Описание методов

accessRules() публичный Метод

This method is used by the 'accessControl' filter.
public accessRules ( ) : array
Результат array access control rules

actionAdmin() публичный Метод

Manages all models.
public actionAdmin ( )

actionCreate() публичный Метод

If creation is successful, the browser will be redirected to the 'view' page.
public actionCreate ( )

actionDelete() публичный Метод

If deletion is successful, the browser will be redirected to the 'admin' page.
public actionDelete ( integer $id )
$id integer the ID of the model to be deleted

actionIndex() публичный Метод

Lists all models.
public actionIndex ( )

actionUpdate() публичный Метод

If update is successful, the browser will be redirected to the 'view' page.
public actionUpdate ( integer $id )
$id integer the ID of the model to be updated

actionView() публичный Метод

Displays a particular model.
public actionView ( integer $id )
$id integer the ID of the model to be displayed

filters() публичный Метод

public filters ( ) : array
Результат array action filters

loadModel() публичный Метод

If the data model is not found, an HTTP exception will be raised.
public loadModel ( $id )

performAjaxValidation() защищенный Метод

Performs the AJAX validation.
protected performAjaxValidation ( $model )

Описание свойств

$layout публичное свойство

the default layout for the views. Defaults to '//layouts/column2', meaning using two-column layout. See 'protected/views/layouts/column2.php'.
public $layout