Workflow: ezcWorkflowNodeVariableSub
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWorkflowNodeVariableSub
|
Subtracts a workflow variable from another variable or a constant value. [
source]
An object of the ezcWorkflowNodeVariableSub class subtracts a given operand, either a constant or the value of another workflow variable, from a specifled workflow variable.
This example will subtract the contents of the workflow variable 'wfVar' by five and put the result back in 'wfVar'.
1. $op = 5;
2. $sub = new ezcWorkflowNodeVariableSub (
3. array ( 'name' = > 'wfVar' , 'operand' = > $op )
4. );
If operand is a string, the value of the workflow variable identified by that string is used.
Incoming nodes: 1 Outgoing nodes: 1
Parents
ezcWorkflowNode
|
--ezcWorkflowNodeArithmeticBase
|
--ezcWorkflowNodeVariableSub
Inherited Constants
From
ezcWorkflowNode:
Inherited Member Variables
From
ezcWorkflowNodeArithmeticBase:
From
ezcWorkflowNode:
Method Summary
|
protected void |
doExecute(
)
Perform variable modification. |
Inherited Methods
From
ezcWorkflowNodeArithmeticBase :
From
ezcWorkflowNode :
Methods
doExecute
void doExecute(
)
Perform variable modification.
Redefinition of
Last updated: Wed, 28 Nov 2007