PHP 클래스 ezcWorkflowVisitor, Workflow

visit() is called on each of the nodes in the workflow in a top-down, depth-first fashion. Start the processing of the workflow by calling accept() on the workflow passing the visitor object as the sole parameter.
상속: implements Countable
파일 보기 프로젝트 열기: zetacomponents/workflow 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$visited SplObjectStorage Holds the visited nodes.

공개 메소드들

메소드 설명
__construct ( ) Constructor.
count ( ) : integer Returns the number of visited nodes.
visit ( ezcWorkflowVisitable $visitable ) : boolean Visit the $visitable.

보호된 메소드들

메소드 설명
doVisit ( ezcWorkflowVisitable $visitable ) Perform the visit.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

count() 공개 메소드

Returns the number of visited nodes.
public count ( ) : integer
리턴 integer

doVisit() 보호된 메소드

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

visit() 공개 메소드

Each node in the graph is visited once.
public visit ( ezcWorkflowVisitable $visitable ) : boolean
$visitable ezcWorkflowVisitable
리턴 boolean

프로퍼티 상세

$visited 보호되어 있는 프로퍼티

Holds the visited nodes.
protected SplObjectStorage $visited
리턴 SplObjectStorage