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
|
public static void |
configurationFromXML(
$element )
Generate node configuration from XML representation. |
|
public void |
configurationToXML(
$element )
Generate XML representation of this node's configuration. |
|
protected void |
doExecute(
)
Perform variable modification. |
Inherited Methods
From
ezcWorkflowNodeArithmeticBase :
From
ezcWorkflowNode :
Methods
configurationFromXML
void configurationFromXML(
$element )
Generate node configuration from XML representation.
Parameters
| Name |
Type |
Description |
$element |
DOMElement |
|
Redefinition of
configurationToXML
void configurationToXML(
$element )
Generate XML representation of this node's configuration.
Parameters
| Name |
Type |
Description |
$element |
DOMElement |
|
Redefinition of
doExecute
void doExecute(
)
Perform variable modification.
Redefinition of
Last updated: Mon, 17 Dec 2007