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
파일 보기 프로젝트 열기: yii2tech/admin

공개 프로퍼티들

프로퍼티 타입 설명
$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