PHP Class ezcWorkflowNodeStart, Workflow

Creating an object of the ezcWorkflow class automatically creates the start node for the new workflow. It can be accessed through the $startNode property of the workflow. Incoming nodes: 0 Outgoing nodes: 1 Example: startNode->addOutNode( ....some other node here .. ); ?>
Inheritance: extends ezcWorkflowNode
Show file Open project: zetacomponents/workflow Class Usage Examples

Protected Properties

Property Type Description
$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.

Public Methods

Method Description
execute ( ezcWorkflowExecution $execution ) : boolean Activates the sole output node.

Method Details

execute() public method

Activates the sole output node.
public execute ( ezcWorkflowExecution $execution ) : boolean
$execution ezcWorkflowExecution
return boolean true when the node finished execution, and false otherwise

Property Details

$maxInNodes protected property

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

$minInNodes protected property

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