Workflow: ezcWorkflowVisitorReset
[ ]
[ Theoretical background ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWorkflowVisitorReset
|
An implementation of the ezcWorkflowVisitor interface that resets all the nodes of a workflow. [
source]
Implemented Interfaces
This visitor should not be used directly but will be used by the reset() method on the workflow.
1. <?php
2. $workflow->reset();
3. ?>
Member Variables
|
protected array |
$visited
= array()
Holds the id of each node that has been visited already. |
Method Summary
|
public boolean |
visit(
$visitable )
Visits the node and resets it. |
Methods
visit
Visits the node and resets it.
Returns true if the node was reset. False if it was already reset.
Parameters
Last updated: Tue, 01 Sep 2009