Workflow: ezcWorkflowNodeVariableDiv
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWorkflowNodeVariableDiv
|
Divides a workflow variable by another variable or a constant value. [
source]
An object of the ezcWorkflowNodeVariableDiv class divides a specified workflow variable by a given operand, either a constant or the value of another workflow variable.
This example will divide the contents of the workflow variable 'wfVar' by five and put it back into wfVar.
1. $op = 5;
2. $div = new ezcWorkflowNodeVariableDiv (
3. array ( 'name' = > 'wfVar',
4. 'operand' = > $op )
5. );
If the 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
|
--ezcWorkflowNodeVariableDiv
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