* $inc = new ezcWorkflowNodeVariableIncrement ( 'variable name' ) ; * * * Incoming nodes: 1 * Outgoing nodes: 1 * * @package Workflow * @version 1.0 */ class ezcWorkflowNodeVariableIncrement extends ezcWorkflowNodeArithmeticBase { /** * The name of the variable to be incremented. * * @var string */ protected $configuration; /** * Perform variable modification. */ protected function doExecute() { $this->variable++; } /** * Returns a textual representation of this node. * * @return string * @ignore */ public function __toString() { return $this->configuration . '++'; } } ?>