PHP Class ezcWorkflowNodeVariableSub, Workflow
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 five from the contents of the workflow variable
'wfVar' and put the result back in 'wfVar'.
'wfVar', 'operand' => 5 )
);
?>
If operand is a string, the value of the workflow variable identified by that string is used.
Incoming nodes: 1
Outgoing nodes: 1
显示文件
Open project: zetacomponents/workflow
Public Methods
Method |
Description |
|
__toString ( ) : string |
Returns a textual representation of this node. |
|
configurationFromXML ( DOMElement $element ) : array |
Generate node configuration from XML representation. |
|
configurationToXML ( DOMElement $element ) |
Generate XML representation of this node's configuration. |
|
Protected Methods
Method |
Description |
|
doExecute ( ) |
Perform variable modification. |
|
Method Details
__toString()
public method
Returns a textual representation of this node.
configurationFromXML()
public static method
Generate node configuration from XML representation.
configurationToXML()
public method
Generate XML representation of this node's configuration.
doExecute()
protected method
Perform variable modification.