PHP Класс yii2tech\admin\actions\Position

This action supports yii2tech/ar-position extension.
См. также: https://github.com/yii2tech/ar-position
С версии: 1.0
Автор: Paul Klimov ([email protected])
Наследование: extends Action
Показать файл Открыть проект

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

Свойство Тип Описание
$positionParam name of the query param, which is used for new model position specification.

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

Метод Описание
createReturnUrl ( $defaultActionId = 'index', $model = null )
run ( mixed $id ) : mixed Updates existing record specified by id.

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

Метод Описание
positionModel ( yii\db\ActiveRecordInterface | yii2tech\ar\position\PositionBehavior $model, $position )
respondSuccess ( yii\db\ActiveRecordInterface $model ) : mixed Composes success response.

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

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

public createReturnUrl ( $defaultActionId = 'index', $model = null )

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

protected positionModel ( yii\db\ActiveRecordInterface | yii2tech\ar\position\PositionBehavior $model, $position )
$model yii\db\ActiveRecordInterface | yii2tech\ar\position\PositionBehavior
$position

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

Composes success response.
protected respondSuccess ( yii\db\ActiveRecordInterface $model ) : mixed
$model yii\db\ActiveRecordInterface
Результат mixed response.

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

Updates existing record specified by id.
public run ( mixed $id ) : mixed
$id mixed id of the model to be deleted.
Результат mixed response.

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

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

name of the query param, which is used for new model position specification.
public $positionParam