PHP 클래스 ezcWorkflowNodeSynchronization, Workflow

The Synchronization workflow pattern synchronizes multiple parallel threads of execution into a single thread of execution. Workflow execution continues once all threads of execution that are to be synchronized have finished executing (exactly once). Use Case Example: After the confirmation email has been sent and the shipping process has been completed, the order can be archived. Incoming nodes: 2..* Outgoing nodes: 1
상속: extends ezcWorkflowNodeMerge
파일 보기 프로젝트 열기: zetacomponents/workflow 1 사용 예제들

공개 메소드들

메소드 설명
activate ( ezcWorkflowExecution $execution, ezcWorkflowNode $activatedFrom = null, integer $threadId ) Activate this node.
execute ( ezcWorkflowExecution $execution ) : boolean Executes this node.

메소드 상세

activate() 공개 메소드

Activate this node.
public activate ( ezcWorkflowExecution $execution, ezcWorkflowNode $activatedFrom = null, integer $threadId )
$execution ezcWorkflowExecution
$activatedFrom ezcWorkflowNode
$threadId integer

execute() 공개 메소드

Executes this node.
public execute ( ezcWorkflowExecution $execution ) : boolean
$execution ezcWorkflowExecution
리턴 boolean true when the node finished execution, and false otherwise