PHP Интерфейс raoul2000\workflow\base\IStatusIdConverter

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.
См. также: StatusIdConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
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.
toSimpleWorkflow ( mixed $statusId ) Converts the status ID passed as argument into a status ID compatible with the simpleWorkflow.

Описание методов

toModelAttribute() публичный Метод

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.
public toModelAttribute ( mixed $statusId )
$statusId mixed

toSimpleWorkflow() публичный Метод

Converts the status ID passed as argument into a status ID compatible with the simpleWorkflow.
public toSimpleWorkflow ( mixed $statusId )
$statusId mixed