PHP Класс mirocow\eav\admin\controllers\OptionController

Наследование: extends yii\web\Controller
Показать файл Открыть проект

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

Метод Описание
actionCreate ( ) : mixed Creates a new EavAttributeOption model.
actionDelete ( integer $id ) : mixed Deletes an existing EavAttributeOption model.
actionIndex ( ) : mixed Lists all EavAttributeOption models.
actionUpdate ( integer $id ) : mixed Updates an existing EavAttributeOption model.
actionView ( integer $id ) : mixed Displays a single EavAttributeOption model.
behaviors ( )

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

Метод Описание
findModel ( integer $id ) : EavAttributeOption Finds the EavAttributeOption model based on its primary key value.

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

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

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

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

If deletion is successful, the browser will be redirected to the 'index' page.
public actionDelete ( integer $id ) : mixed
$id integer
Результат mixed

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

Lists all EavAttributeOption models.
public actionIndex ( ) : mixed
Результат mixed

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

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

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

Displays a single EavAttributeOption model.
public actionView ( integer $id ) : mixed
$id integer
Результат mixed

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

public behaviors ( )

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

If the model is not found, a 404 HTTP exception will be thrown.
protected findModel ( integer $id ) : EavAttributeOption
$id integer
Результат mirocow\eav\models\EavAttributeOption the loaded model