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
Afficher le fichier Open project: zetacomponents/workflow Class Usage Examples

Protected Properties

Свойство 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.

Méthodes publiques

Méthode Description
execute ( ezcWorkflowExecution $execution ) : boolean Activates the sole output node.

Method Details

execute() public méthode

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

Property Details

$maxInNodes protected_oe property

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

$minInNodes protected_oe property

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