PHP Class ezcWorkflowExecutionPlugin, Workflow

Show file Open project: zetacomponents/workflow

Public Methods

Method Description
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.
beforeNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) : boolean Called before a node is activated.
beforeVariableSet ( ezcWorkflowExecution $execution, string $variableName, mixed $value ) : mixed Called before a variable is set.
beforeVariableUnset ( ezcWorkflowExecution $execution, string $variableName ) : boolean Called before a variable is unset.

Method Details

afterExecutionCancelled() public method

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

afterExecutionEnded() public method

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

afterExecutionResumed() public method

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

afterExecutionStarted() public method

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

afterExecutionSuspended() public method

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

afterNodeActivated() public method

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

afterNodeExecuted() public method

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

afterThreadEnded() public method

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

afterThreadStarted() public method

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() public method

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

afterVariableUnset() public method

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

beforeNodeActivated() public method

Called before a node is activated.
public beforeNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) : boolean
$execution ezcWorkflowExecution
$node ezcWorkflowNode
return boolean true, when the node should be activated, false otherwise

beforeVariableSet() public method

Called before a variable is set.
public beforeVariableSet ( ezcWorkflowExecution $execution, string $variableName, mixed $value ) : mixed
$execution ezcWorkflowExecution
$variableName string
$value mixed
return mixed the value the variable should be set to

beforeVariableUnset() public method

Called before a variable is unset.
public beforeVariableUnset ( ezcWorkflowExecution $execution, string $variableName ) : boolean
$execution ezcWorkflowExecution
$variableName string
return boolean true, when the variable should be unset, false otherwise