Interface IStatusIdConverter
The interface for status ID converters.
A status ID converter is dedicated to provide a conversion between status ID which are valid for the SimpleWorkflow behavior, and status ID that can be stored in the configured status column in the underlying table.
Direct known implementers
Namespace: raoul2000\workflow\base
See:
Located at base/IStatusIdConverter.php
See:
raoul2000\workflow\base\StatusIdConverter
Located at base/IStatusIdConverter.php
Methods summary
public
|
#
toSimpleWorkflow( mixed $statusId )
Converts the status ID passed as argument into a status ID compatible with the simpleWorkflow. |
public
|
#
toModelAttribute( mixed $statusId )
Converts the status ID passed as argument into a value that is compatible with the owner model attribute configured to store the simpleWorkflow status ID. |