Свойство |
Type |
Description |
|
$additionalCriteriaOnLoadModel |
|
additional criteria to use to get the model |
|
$ajaxResponseOnFailed |
|
the response to return to an AJAX call when failed to update the attribute. |
|
$ajaxResponseOnSuccess |
|
the response to return to an AJAX call when the attribute was successfully saved. |
|
$exceptionOnNullModel |
|
whether to throw an exception if we cannot find a model requested by the id |
|
$modelName |
|
the name of the model we are going to toggle values to |
|
$noValue |
|
the value to update the model to [yes|no] |
|
$redirectRoute |
|
the route to redirect the call after updating attribute |
|
$yesValue |
|
the value to update the model to [yes|no] standard toggle options, but you can toggle any value. |
|