PHP Класс ezcWorkflowNodeMerge, Workflow

Наследование: extends ezcWorkflowNode
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$maxInNodes integer Constraint: The maximum number of incoming nodes this node has to have to be valid.
$minInNodes integer Constraint: The minimum number of incoming nodes this node has to have to be valid.
$state array The state of this node.

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

Метод Описание
initState ( ) Initializes the state of this node.

Защищенные методы

Метод Описание
doMerge ( ezcWorkflowExecution $execution ) : boolean Performs the merge by ending the incoming threads and activating the outgoing node.
prepareActivate ( ezcWorkflowExecution $execution, integer $threadId ) Prepares this node for activation.

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

doMerge() защищенный Метод

Performs the merge by ending the incoming threads and activating the outgoing node.
protected doMerge ( ezcWorkflowExecution $execution ) : boolean
$execution ezcWorkflowExecution
Результат boolean true when the node finished execution, and false otherwise

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

Initializes the state of this node.
public initState ( )

prepareActivate() защищенный Метод

Prepares this node for activation.
protected prepareActivate ( ezcWorkflowExecution $execution, integer $threadId )
$execution ezcWorkflowExecution
$threadId integer

Описание свойств

$maxInNodes защищенное свойство

Constraint: The maximum number of incoming nodes this node has to have to be valid.
protected int $maxInNodes
Результат integer

$minInNodes защищенное свойство

Constraint: The minimum number of incoming nodes this node has to have to be valid.
protected int $minInNodes
Результат integer

$state защищенное свойство

The state of this node.
protected array $state
Результат array