PHP Класс PageBackendController

Наследование: extends yupe\components\controllers\BackController
Показать файл Открыть проект

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

Метод Описание
accessRules ( ) : array
actionCreate ( ) : void Creates a new model.
actionDelete ( integer $id = null ) : void Deletes a particular model.
actionIndex ( ) : void Manages all models.
actionUpdate ( integer $id ) : void Updates a particular model.
actionView ( integer $id ) : void Displays a particular model.
actions ( ) : array
loadModel ( integer $id ) : Page Returns the data model based on the primary key given in the GET variable.

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

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

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

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

If creation is successful, the browser will be redirected to the 'view' page.
public actionCreate ( ) : void
Результат void

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

If deletion is successful, the browser will be redirected to the 'index' page
public actionDelete ( integer $id = null ) : void
$id integer - record ID
Результат void

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

Manages all models.
public actionIndex ( ) : void
Результат void

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

If update is successful, the browser will be redirected to the 'view' page.
public actionUpdate ( integer $id ) : void
$id integer - record ID
Результат void

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

Displays a particular model.
public actionView ( integer $id ) : void
$id integer - record ID
Результат void

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

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

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

If the data model is not found, an HTTP exception will be raised.
public loadModel ( integer $id ) : Page
$id integer - record ID
Результат Page $model