PHP Класс raoul2000\workflow\base\Transition

Наследование: extends WorkflowBaseObject, implements raoul2000\workflow\base\TransitionInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( array $config = [] ) Creates a Transition object.
getEndStatus ( )
getId ( ) : string Returns the id of this transition.
getStartStatus ( )

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

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

To create a new Transition, you should provide following mandatory values in the configuration array $config : - **start** : the start Status instance - **end** : the end Status instance
См. также: Status
public __construct ( array $config = [] )
$config array

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

См. также: raoul2000\workflow\base\TransitionInterface::getEndStatus()
public getEndStatus ( )

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

The id is built by concatenating the start and the end status Ids, separated with character '-'. For instance, a transition between status A and B has an idea equals to "A-B".
См. также: raoul2000\workflow\base\WorkflowBaseObject::getId()
public getId ( ) : string
Результат string the transition Id

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

См. также: raoul2000\workflow\base\TransitionInterface::getStartStatus()
public getStartStatus ( )