Path

ez components / documentation / api reference / trunk / workflow


eZ Components trunk

Workflow: ezcWorkflowVisitorReset

[ Tutorial ] [ Theoretical background ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWorkflowVisitorReset

An implementation of the ezcWorkflowVisitor interface that resets all the nodes of a workflow. [source]
This visitor should not be used directly but will be used by the reset() method on the workflow.
 1.  <?php
 2.  $workflow->reset();
 3.  ?>

Parents

ezcWorkflowVisitor
   |
   --ezcWorkflowVisitorReset

Inherited Member Variables

From ezcWorkflowVisitor:
protected  ezcWorkflowVisitor::$visited

Method Summary

protected void doVisit( $visitable )
Perform the visit.

Inherited Methods

From ezcWorkflowVisitor :
public ezcWorkflowVisitor ezcWorkflowVisitor::__construct()
Constructor.
public integer ezcWorkflowVisitor::count()
Returns the number of visited nodes.
protected void ezcWorkflowVisitor::doVisit()
Perform the visit.
public bool ezcWorkflowVisitor::visit()
Visit the $visitable.

Methods

doVisit

void doVisit( ezcWorkflowVisitable $visitable )
Perform the visit.

Parameters

Name Type Description
$visitable ezcWorkflowVisitable  

Redefinition of

Method Description
ezcWorkflowVisitor::doVisit() Perform the visit.

Last updated: Mon, 21 Dec 2009