PHP Class ezcWorkflowNodeBranch, Workflow

Inheritance: extends ezcWorkflowNode
Show file Open project: zetacomponents/workflow Class Usage Examples

Protected Properties

Property Type Description
$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.
$startNewThreadForBranch boolean Whether or not to start a new thread for a branch.

Protected Methods

Method Description
activateOutgoingNodes ( ezcWorkflowExecution $execution, array $nodes ) : boolean Activates this node's outgoing nodes.

Method Details

activateOutgoingNodes() protected method

Activates this node's outgoing nodes.
protected activateOutgoingNodes ( ezcWorkflowExecution $execution, array $nodes ) : boolean
$execution ezcWorkflowExecution
$nodes array
return boolean true when the node finished execution, and false otherwise

Property Details

$maxOutNodes protected property

Constraint: The maximum number of outgoing nodes this node has to have to be valid.
protected int $maxOutNodes
return integer

$minOutNodes protected property

Constraint: The minimum number of outgoing nodes this node has to have to be valid.
protected int $minOutNodes
return integer

$startNewThreadForBranch protected property

Whether or not to start a new thread for a branch.
protected bool $startNewThreadForBranch
return boolean