/** * Overridden implementation of accept() calls * accept on the start node. * * @param ezcWorkflowVisitor $visitor */ public function accept(ezcWorkflowVisitor $visitor) { $visitor->visit($this); $this->properties['startNode']->accept($visitor); }
/** * Constructor. * * @param ezcWorkflow $workflow */ public function __construct(ezcWorkflow $workflow) { parent::__construct(); $workflow->accept($this); }
/** * Constructor. */ public function __construct() { parent::__construct(); $this->options = new ezcWorkflowVisitorVisualizationOptions(); }
/** * Reimplementation of accept() calls accept on all out nodes. * * @param ezcWorkflowVisitor $visitor */ public function accept(ezcWorkflowVisitor $visitor) { if ($visitor->visit($this)) { foreach ($this->outNodes as $outNode) { $outNode->accept($visitor); } } }