PHP Class EventBackendController

Author: YupeTeam ([email protected])
Inheritance: extends yupe\components\controllers\BackController
Show file Open project: yupe/yupe

Public Methods

Method Description
accessRules ( ) : array
actionCreate ( ) : void Создает новую модель почтового события.
actionDelete ( integer $id ) : void Удаяет модель почтового события из базы.
actionIndex ( ) : void Управление почтовыми событиями.
actionUpdate ( integer $id ) : void Редактирование почтового события.
actionView ( integer $id ) : void Отображает почтовое событие по указанному идентификатору
actions ( ) : array
loadModel ( $id ) : array | mixed | null

Method Details

accessRules() public method

public accessRules ( ) : array
return array

actionCreate() public method

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

actionDelete() public method

Если удаление прошло успешно - возвращется в index
public actionDelete ( integer $id ) : void
$id integer идентификатор почтового события, который нужно удалить
return void

actionIndex() public method

Управление почтовыми событиями.
public actionIndex ( ) : void
return void

actionUpdate() public method

Редактирование почтового события.
public actionUpdate ( integer $id ) : void
$id integer the ID of the model to be updated
return void

actionView() public method

Отображает почтовое событие по указанному идентификатору
public actionView ( integer $id ) : void
$id integer Идинтификатор почтовое событие для отображения
return void

actions() public method

public actions ( ) : array
return array

loadModel() public method

public loadModel ( $id ) : array | mixed | null
$id
return array | mixed | null