PHP 클래스 ezcWorkflowExecutionListenerPlugin, Workflow

상속: extends ezcWorkflowExecutionPlugin
파일 보기 프로젝트 열기: zetacomponents/workflow

보호된 프로퍼티들

프로퍼티 타입 설명
$listeners array Listeners.

공개 메소드들

메소드 설명
addListener ( ezcWorkflowExecutionListener $listener ) : boolean Adds a listener.
afterExecutionCancelled ( ezcWorkflowExecution $execution ) Called after an execution has been cancelled.
afterExecutionEnded ( ezcWorkflowExecution $execution ) Called after an execution has successfully ended.
afterExecutionResumed ( ezcWorkflowExecution $execution ) Called after an execution has been resumed.
afterExecutionStarted ( ezcWorkflowExecution $execution ) Called after an execution has been started.
afterExecutionSuspended ( ezcWorkflowExecution $execution ) Called after an execution has been suspended.
afterNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) Called after a node has been activated.
afterNodeExecuted ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) Called after a node has been executed.
afterThreadEnded ( ezcWorkflowExecution $execution, integer $threadId ) Called after a thread has ended.
afterThreadStarted ( ezcWorkflowExecution $execution, integer $threadId, integer $parentId, integer $numSiblings ) Called after a new thread has been started.
afterVariableSet ( ezcWorkflowExecution $execution, string $variableName, mixed $value ) Called after a variable has been set.
afterVariableUnset ( ezcWorkflowExecution $execution, string $variableName ) Called after a variable has been unset.
removeListener ( ezcWorkflowExecutionListener $listener ) : boolean Removes a listener.

보호된 메소드들

메소드 설명
notifyListeners ( string $message, integer $type = ezcWorkflowExecutionListener::INFO ) Notify listeners.

메소드 상세

addListener() 공개 메소드

Adds a listener.
public addListener ( ezcWorkflowExecutionListener $listener ) : boolean
$listener ezcWorkflowExecutionListener
리턴 boolean true when the listener was added, false otherwise.

afterExecutionCancelled() 공개 메소드

Called after an execution has been cancelled.
public afterExecutionCancelled ( ezcWorkflowExecution $execution )
$execution ezcWorkflowExecution

afterExecutionEnded() 공개 메소드

Called after an execution has successfully ended.
public afterExecutionEnded ( ezcWorkflowExecution $execution )
$execution ezcWorkflowExecution

afterExecutionResumed() 공개 메소드

Called after an execution has been resumed.
public afterExecutionResumed ( ezcWorkflowExecution $execution )
$execution ezcWorkflowExecution

afterExecutionStarted() 공개 메소드

Called after an execution has been started.
public afterExecutionStarted ( ezcWorkflowExecution $execution )
$execution ezcWorkflowExecution

afterExecutionSuspended() 공개 메소드

Called after an execution has been suspended.
public afterExecutionSuspended ( ezcWorkflowExecution $execution )
$execution ezcWorkflowExecution

afterNodeActivated() 공개 메소드

Called after a node has been activated.
public afterNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node )
$execution ezcWorkflowExecution
$node ezcWorkflowNode

afterNodeExecuted() 공개 메소드

Called after a node has been executed.
public afterNodeExecuted ( ezcWorkflowExecution $execution, ezcWorkflowNode $node )
$execution ezcWorkflowExecution
$node ezcWorkflowNode

afterThreadEnded() 공개 메소드

Called after a thread has ended.
public afterThreadEnded ( ezcWorkflowExecution $execution, integer $threadId )
$execution ezcWorkflowExecution
$threadId integer

afterThreadStarted() 공개 메소드

Called after a new thread has been started.
public afterThreadStarted ( ezcWorkflowExecution $execution, integer $threadId, integer $parentId, integer $numSiblings )
$execution ezcWorkflowExecution
$threadId integer
$parentId integer
$numSiblings integer

afterVariableSet() 공개 메소드

Called after a variable has been set.
public afterVariableSet ( ezcWorkflowExecution $execution, string $variableName, mixed $value )
$execution ezcWorkflowExecution
$variableName string
$value mixed

afterVariableUnset() 공개 메소드

Called after a variable has been unset.
public afterVariableUnset ( ezcWorkflowExecution $execution, string $variableName )
$execution ezcWorkflowExecution
$variableName string

notifyListeners() 보호된 메소드

Notify listeners.
protected notifyListeners ( string $message, integer $type = ezcWorkflowExecutionListener::INFO )
$message string
$type integer

removeListener() 공개 메소드

Removes a listener.
public removeListener ( ezcWorkflowExecutionListener $listener ) : boolean
$listener ezcWorkflowExecutionListener
리턴 boolean true when the listener was removed, false otherwise.

프로퍼티 상세

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

Listeners.
protected array $listeners
리턴 array