Property | Type | Description | |
---|---|---|---|
$flash | flash message to be set on success. | ||
$scenario | the scenario to be assigned to the new model before it is validated and saved. |
Method | Description | |
---|---|---|
load ( |
Populates the model with input data. | |
performAjaxValidation ( |
Performs AJAX validation of the model via [[ActiveForm::validate()]]. |
protected performAjaxValidation ( |
||
$model | main model. | |
return | array | the error message array indexed by the attribute IDs. |