PHP Class ezcWorkflowNodeVariableDiv, Workflow

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. 'wfVar', 'operand' => 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
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 ( )