PHP Класс ezcWorkflowNodeEnd, Workflow
A workflow must have at least one end node. The execution of the workflow ends
when an end node is reached.
Creating an object of the ezcWorkflow class automatically creates a default end node for the new
workflow. It can be accessed through the getEndNode() method.
Incoming nodes: 1
Outgoing nodes: 0
Example:
startNode->addOutNode( ... some other node here ... );
$node->addOutNode( $workflow->endNode );
?>
Показать файл
Открыть проект
Защищенные свойства (Protected)
Свойство |
Тип |
Описание |
|
$maxOutNodes |
integer |
Constraint: The maximum number of outgoing nodes this node has to have
to be valid. |
|
$minOutNodes |
integer |
Constraint: The minimum number of outgoing nodes this node has to have
to be valid. |
|
Открытые методы
Метод |
Описание |
|
execute ( ezcWorkflowExecution $execution ) : boolean |
Ends the execution of this workflow. |
|
Описание методов
execute()
публичный Метод
Ends the execution of this workflow.
public execute ( ezcWorkflowExecution $execution ) : boolean |
$execution |
ezcWorkflowExecution |
|
Результат |
boolean |
true when the node finished execution,
and false otherwise |
Описание свойств
$maxOutNodes защищенное свойство
Constraint: The maximum number of outgoing nodes this node has to have
to be valid.
protected int $maxOutNodes |
Результат |
integer |
|
$minOutNodes защищенное свойство
Constraint: The minimum number of outgoing nodes this node has to have
to be valid.
protected int $minOutNodes |
Результат |
integer |
|