PHP 클래스 yii\rest\UpdateAction

부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends Action
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$scenario the scenario to be assigned to the model before it is validated and updated.

공개 메소드들

메소드 설명
run ( string $id ) : yii\db\ActiveRecordInterface Updates an existing model.

메소드 상세

run() 공개 메소드

Updates an existing model.
public run ( string $id ) : yii\db\ActiveRecordInterface
$id string the primary key of the model.
리턴 yii\db\ActiveRecordInterface the model being updated

프로퍼티 상세

$scenario 공개적으로 프로퍼티

the scenario to be assigned to the model before it is validated and updated.
public $scenario