unsetVariable() public method

Unsets a variable.
public unsetVariable ( string $variableName ) : true,
$variableName string
return true,
Esempio n. 1
0
 /**
  * Executes this node.
  *
  * @param ezcWorkflowExecution $execution
  * @return boolean true when the node finished execution,
  *                 and false otherwise
  * @ignore
  */
 public function execute(ezcWorkflowExecution $execution)
 {
     foreach ($this->configuration as $variable) {
         $execution->unsetVariable($variable);
     }
     $this->activateNode($execution, $this->outNodes[0]);
     return parent::execute($execution);
 }