PHP Class AttributeBackendController

Inheritance: extends yupe\components\controllers\BackController
Afficher le fichier Open project: yupe/yupe

Méthodes publiques

Méthode Description
accessRules ( ) : array
actionAddOption ( $id )
actionCreate ( ) : void Создает новую модель атрибута.
actionDelete ( $id )
actionDeleteFile ( )
actionDeleteOption ( $id )
actionGroupCreate ( )
actionIndex ( )
actionUpdate ( $id )
actions ( ) : array
loadModel ( integer $id ) : Attribute Возвращает модель по указанному идентификатору Если модель не будет найдена - возникнет HTTP-исключение.

Méthodes protégées

Méthode Description
performAjaxValidation ( Attribute $model ) : void Производит AJAX-валидацию

Method Details

accessRules() public méthode

public accessRules ( ) : array
Résultat array

actionAddOption() public méthode

public actionAddOption ( $id )
$id

actionCreate() public méthode

Если создание прошло успешно - перенаправляет на просмотр.
public actionCreate ( ) : void
Résultat void

actionDelete() public méthode

public actionDelete ( $id )
$id

actionDeleteFile() public méthode

public actionDeleteFile ( )

actionDeleteOption() public méthode

public actionDeleteOption ( $id )
$id

actionGroupCreate() public méthode

public actionGroupCreate ( )

actionIndex() public méthode

public actionIndex ( )

actionUpdate() public méthode

public actionUpdate ( $id )
$id

actions() public méthode

public actions ( ) : array
Résultat array

loadModel() public méthode

Возвращает модель по указанному идентификатору Если модель не будет найдена - возникнет HTTP-исключение.
public loadModel ( integer $id ) : Attribute
$id integer - идентификатор нужной модели
Résultat Attribute $model

performAjaxValidation() protected méthode

Производит AJAX-валидацию
protected performAjaxValidation ( Attribute $model ) : void
$model Attribute - модель, которую необходимо валидировать
Résultat void