프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$scenario | the scenario to be assigned to the new model before it is validated and saved. | ||
$viewAction | the name of the view action. This property is need to create the URL when the model is successfully created. |
메소드 | 설명 | |
---|---|---|
run ( ) : yii\db\ActiveRecordInterface | Creates a new model. |
public run ( ) : yii\db\ActiveRecordInterface | ||
리턴 | yii\db\ActiveRecordInterface | the model newly created |
public $scenario |