* $op = 5; * $mul = new ezcWorkflowNodeVariableMul ( * array ( 'name' = > 'wfVar' , 'operand' = > $op ) * ); * * If the operand is a string, the value of the workflow variable identified by that string is used. * * Incoming nodes: 1 * Outgoing nodes: 1 * * @package Workflow * @version 1.0 */ class ezcWorkflowNodeVariableMul extends ezcWorkflowNodeArithmeticBase { /** * Perform variable modification. */ protected function doExecute() { $this->variable *= $this->operand; } /** * Returns a textual representation of this node. * * @return string * @ignore */ public function __toString() { return $this->configuration['name'] . ' *= ' . $this->configuration['operand']; } } ?>