PHP Class ezcWorkflowNodeVariableSet, Workflow

$value ) ); ?> Incoming nodes: 1 Outgoing nodes: 1
Inheritance: extends ezcWorkflowNode
Mostrar archivo Open project: zetacomponents/workflow Class Usage Examples

Public Methods

Method Description
__construct ( mixed $configuration = '' ) Constructs a new variable set node with the configuration $configuration.
__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.
execute ( ezcWorkflowExecution $execution ) : boolean Executes this by setting all the variables specified by the configuration.

Method Details

__construct() public method

The configuration is an array of keys and values of the format: array( 'workflow variable name' => value )
public __construct ( mixed $configuration = '' )
$configuration mixed

__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

execute() public method

Executes this by setting all the variables specified by the configuration.
public execute ( ezcWorkflowExecution $execution ) : boolean
$execution ezcWorkflowExecution
return boolean true when the node finished execution, and false otherwise