PHP 클래스 ezcWorkflowNodeEnd, Workflow
A workflow must have at least one end node. The execution of the workflow ends
when an end node is reached.
Creating an object of the ezcWorkflow class automatically creates a default end node for the new
workflow. It can be accessed through the getEndNode() method.
Incoming nodes: 1
Outgoing nodes: 0
Example:
startNode->addOutNode( ... some other node here ... );
$node->addOutNode( $workflow->endNode );
?>
파일 보기
프로젝트 열기: zetacomponents/workflow
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$maxOutNodes |
integer |
Constraint: The maximum number of outgoing nodes this node has to have
to be valid. |
|
$minOutNodes |
integer |
Constraint: The minimum number of outgoing nodes this node has to have
to be valid. |
|
공개 메소드들
메소드 |
설명 |
|
execute ( ezcWorkflowExecution $execution ) : boolean |
Ends the execution of this workflow. |
|
메소드 상세
Ends the execution of this workflow.
public execute ( ezcWorkflowExecution $execution ) : boolean |
$execution |
ezcWorkflowExecution |
|
리턴 |
boolean |
true when the node finished execution,
and false otherwise |
프로퍼티 상세
$maxOutNodes 보호되어 있는 프로퍼티
Constraint: The maximum number of outgoing nodes this node has to have
to be valid.
protected int $maxOutNodes |
리턴 |
integer |
|
$minOutNodes 보호되어 있는 프로퍼티
Constraint: The minimum number of outgoing nodes this node has to have
to be valid.
protected int $minOutNodes |
리턴 |
integer |
|