Returns an associative array containing all statuses that can be reached by model.
public static getNextStatusListData ( |
||
$model | ||
$validate | boolean | when TRUE only those status with successfull attribute validation are included. When FALSE (default) Attribute validation is done performed. |
$beforeEvents | boolean | when TRUE all configured *before* events are fired : only the status that don't invalidate the workflow event are included in the returned array, otherwise no event is fired and all next status are included |
$includeCurrent | boolean | when TRUE the current model status is added to the returned array. When FALSE (default) only next statuses are included |
Результат | array |