ezcWorkflowNodeVariableSet::execute PHP Method

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
    public function execute(ezcWorkflowExecution $execution)
    {
        foreach ($this->configuration as $variable => $value) {
            $execution->setVariable($variable, $value);
        }
        $this->activateNode($execution, $this->outNodes[0]);
        return parent::execute($execution);
    }