Свойство | Type | Description | |
---|---|---|---|
$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. |
Méthode | Description | |
---|---|---|
run ( ) : yii\db\ActiveRecordInterface | Creates a new model. |
public run ( ) : yii\db\ActiveRecordInterface | ||
Résultat | yii\db\ActiveRecordInterface | the model newly created |
public $scenario |