PHP Class ezcWorkflowVisitorNodeCollector, Workflow

Inheritance: implements ezcWorkflowVisitor
Mostra file Open project: zetacomponents/workflow Class Usage Examples

Protected Properties

Property Type Description
$endNode ezcWorkflowNodeEnd Holds the default end node object.
$finallyNode ezcWorkflowNodeFinally Holds the finally node object.
$finallyNodeVisited boolean Flag that indicates whether the finally node has been visited.
$nextId integer Holds the sequence of node ids.
$nodes array(integer=>ezcWorkflowNode) Holds the visited nodes.
$sorted boolean Flag that indicates whether the node list has been sorted.
$startNode ezcWorkflowNodeStart Holds the start node object.

Public Methods

Method Description
__construct ( ezcWorkflow $workflow ) Constructor.
getNodes ( ) : array Returns the collected nodes.

Protected Methods

Method Description
doVisit ( ezcWorkflowVisitable $visitable ) Perform the visit.

Method Details

__construct() public method

Constructor.
public __construct ( ezcWorkflow $workflow )
$workflow ezcWorkflow

doVisit() protected method

Perform the visit.
protected doVisit ( ezcWorkflowVisitable $visitable )
$visitable ezcWorkflowVisitable

getNodes() public method

Returns the collected nodes.
public getNodes ( ) : array
return array

Property Details

$endNode protected_oe property

Holds the default end node object.
protected ezcWorkflowNodeEnd $endNode
return ezcWorkflowNodeEnd

$finallyNode protected_oe property

Holds the finally node object.
protected ezcWorkflowNodeFinally $finallyNode
return ezcWorkflowNodeFinally

$finallyNodeVisited protected_oe property

Flag that indicates whether the finally node has been visited.
protected bool $finallyNodeVisited
return boolean

$nextId protected_oe property

Holds the sequence of node ids.
protected int $nextId
return integer

$nodes protected_oe property

Holds the visited nodes.
protected array(integer=>ezcWorkflowNode) $nodes
return array(integer=>ezcWorkflowNode)

$sorted protected_oe property

Flag that indicates whether the node list has been sorted.
protected bool $sorted
return boolean

$startNode protected_oe property

Holds the start node object.
protected ezcWorkflowNodeStart $startNode
return ezcWorkflowNodeStart