Path

ez components / documentation / api reference / 2008.2.3 / workflow


eZ Components 2008.2.3

Workflow: ezcWorkflowNodeVariableIncrement

[ Tutorial ] [ Theoretical background ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWorkflowNodeVariableIncrement

This node increments a workflow variable by one when executed.. [source]
1.  <?php
2.  $inc new ezcWorkflowNodeVariableIncrement'variable name' );
3.  ?>
Incoming nodes: 1 Outgoing nodes: 1

Parents

ezcWorkflowNode
   |
   --ezcWorkflowNodeArithmeticBase
      |
      --ezcWorkflowNodeVariableIncrement

Inherited Constants

From ezcWorkflowNode:
ezcWorkflowNode::WAITING_FOR_ACTIVATION    The node is waiting to be activated.
ezcWorkflowNode::WAITING_FOR_EXECUTION    The node is activated and waiting to be executed.

Member Variables

protected string $configuration
The name of the variable to be incremented.

Inherited Member Variables

From ezcWorkflowNodeArithmeticBase:
protected  ezcWorkflowNodeArithmeticBase::$operand
protected  ezcWorkflowNodeArithmeticBase::$variable
From ezcWorkflowNode:
protected  ezcWorkflowNode::$activatedFrom
protected  ezcWorkflowNode::$activationState
protected  ezcWorkflowNode::$id
protected  ezcWorkflowNode::$inNodes
protected  ezcWorkflowNode::$internalCall
protected  ezcWorkflowNode::$maxInNodes
protected  ezcWorkflowNode::$maxOutNodes
protected  ezcWorkflowNode::$minInNodes
protected  ezcWorkflowNode::$minOutNodes
protected  ezcWorkflowNode::$numInNodes
protected  ezcWorkflowNode::$numOutNodes
protected  ezcWorkflowNode::$outNodes
protected  ezcWorkflowNode::$state
protected  ezcWorkflowNode::$threadId

Method Summary

protected void doExecute( )
Perform variable modification.

Inherited Methods

From ezcWorkflowNodeArithmeticBase :
public ezcWorkflowNodeArithmeticBase ezcWorkflowNodeArithmeticBase::__construct()
Constructs a new action node with the configuration $configuration.
protected abstract void ezcWorkflowNodeArithmeticBase::doExecute()
Implementors should perform the variable computation in this method.
From ezcWorkflowNode :
public ezcWorkflowNode ezcWorkflowNode::__construct()
Constructs a new node with the configuration $configuration.
public void ezcWorkflowNode::accept()
Reimplementation of accept() calls accept on all out nodes.
protected void ezcWorkflowNode::activateNode()
Convenience method for activating an (outgoing) node.
public ezcWorkflowNode ezcWorkflowNode::addInNode()
Adds a node to the incoming nodes of this node.
public ezcWorkflowNode ezcWorkflowNode::addOutNode()
Adds a node to the outgoing nodes of this node.
public mixed ezcWorkflowNode::getConfiguration()
Returns the configuration of this node.
public ezcWorkflowNode[] ezcWorkflowNode::getInNodes()
Returns the incoming nodes of this node.
public ezcWorkflowNode[] ezcWorkflowNode::getOutNodes()
Returns the outgoing nodes of this node.
public boolean ezcWorkflowNode::removeInNode()
Removes a node from the incoming nodes of this node.
public boolean ezcWorkflowNode::removeOutNode()
Removes a node from the outgoing nodes of this node.
public void ezcWorkflowNode::verify()
Checks this node's constraints.

Methods

doExecute

void doExecute( )
Perform variable modification.

Redefinition of

Method Description
ezcWorkflowNodeArithmeticBase::doExecute() Implementors should perform the variable computation in this method.

Last updated: Mon, 11 May 2009