프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$properties | array(string=>mixed) | Container to hold the properties | |
$variableHandlers | array | The variable handlers of this workflow. |
메소드 | 설명 | |
---|---|---|
__construct ( string $name, ezcWorkflowNodeStart $startNode = null, ezcWorkflowNodeEnd $endNode = null, ezcWorkflowNodeFinally $finallyNode = null ) | Constructs a new workflow object with the name $name. | |
__get ( string $propertyName ) : mixed | Property read access. | |
__isset ( string $propertyName ) : boolean | Property isset access. | |
__set ( string $propertyName, mixed $val ) | Property write access. | |
accept ( ezcWorkflowVisitor $visitor ) | Overridden implementation of accept() calls accept on the start node. | |
addVariableHandler ( string $variableName, string $className ) | Sets the class $className to handle the variable named $variableName. | |
count ( ) : integer | Returns the number of nodes of this workflow. | |
getVariableHandlers ( ) : array | Returns the variable handlers. | |
hasSubWorkflows ( ) : boolean | Returns true when the workflow has sub workflows (ie. when it contains ezcWorkflowNodeSubWorkflow nodes) and false otherwise. | |
isInteractive ( ) : boolean | Returns true when the workflow requires user interaction (ie. when it contains ezcWorkflowNodeInput nodes) and false otherwise. | |
removeVariableHandler ( string $variableName ) : boolean | Removes the handler for $variableName and returns true on success. | |
reset ( ) | Resets the nodes of this workflow. | |
setVariableHandlers ( array $variableHandlers ) | Sets handlers for multiple variables. | |
verify ( ) | Verifies the specification of this workflow. |
public __construct ( string $name, ezcWorkflowNodeStart $startNode = null, ezcWorkflowNodeEnd $endNode = null, ezcWorkflowNodeFinally $finallyNode = null ) | ||
$name | string | The name of the workflow. |
$startNode | ezcWorkflowNodeStart | The start node of the workflow. |
$endNode | ezcWorkflowNodeEnd | The default end node of the workflow. |
$finallyNode | ezcWorkflowNodeFinally | The start of a node sequence that is executed when a workflow execution is cancelled. |
public accept ( ezcWorkflowVisitor $visitor ) | ||
$visitor | ezcWorkflowVisitor |
public addVariableHandler ( string $variableName, string $className ) | ||
$variableName | string | |
$className | string |
public getVariableHandlers ( ) : array | ||
리턴 | array |
public hasSubWorkflows ( ) : boolean | ||
리턴 | boolean | true when the workflow has sub workflows, false otherwise. |
public isInteractive ( ) : boolean | ||
리턴 | boolean | true when the workflow is interactive, false otherwise. |
public removeVariableHandler ( string $variableName ) : boolean | ||
$variableName | string | |
리턴 | boolean |
public setVariableHandlers ( array $variableHandlers ) | ||
$variableHandlers | array |
public verify ( ) |
protected array(string=>mixed) $properties | ||
리턴 | array(string=>mixed) |
protected array $variableHandlers | ||
리턴 | array |