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

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

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

Метод Описание
__construct ( array $config = [] ) Status constructor.
getId ( ) : string Returns the id of this status.
getLabel ( ) : string Returns the label for this status.
getTransitions ( )
getWorkflow ( )
getWorkflowId ( ) : string
isInitialStatus ( )

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

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

To create a Status you must provide following values in the $config array passed as argument: - **id** : the id for this status. - **workflowId ** : the id of the workflow this status belongs to. Following values are optional : - **label** : human readable name for this status.
public __construct ( array $config = [] )
$config array

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

Note that the status id returned must be unique inside the workflow it belongs to, but it doesn't have to be unique among all workflows.
public getId ( ) : string
Результат string the id for this status

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

Returns the label for this status.
public getLabel ( ) : string
Результат string the label for this status. .

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

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

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

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

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

public getWorkflowId ( ) : string
Результат string the id of the workflow this status belongs to.

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

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