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
Inheritance: extends ezcWorkflowNodeArithmeticBase
Show file 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.
public __toString ( ) : string
return string

configurationFromXML() public static method

Generate node configuration from XML representation.
public static configurationFromXML ( DOMElement $element ) : array
$element DOMElement
return array

configurationToXML() public method

Generate XML representation of this node's configuration.
public configurationToXML ( DOMElement $element )
$element DOMElement

doExecute() protected method

Perform variable modification.
protected doExecute ( )