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.
파일 보기
프로젝트 열기: zetacomponents/workflow
1 사용 예제들
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$visited |
SplObjectStorage |
Holds the visited nodes. |
|
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
doVisit ( ezcWorkflowVisitable $visitable ) |
Perform the visit. |
|
메소드 상세
Returns the number of visited nodes.
protected doVisit ( ezcWorkflowVisitable $visitable ) |
$visitable |
ezcWorkflowVisitable |
|
Each node in the graph is visited once.
public visit ( ezcWorkflowVisitable $visitable ) : boolean |
$visitable |
ezcWorkflowVisitable |
|
리턴 |
boolean |
|
프로퍼티 상세
protected SplObjectStorage $visited |
리턴 |
SplObjectStorage |
|