Zeta Components - high quality PHP components

Zeta Components Manual :: Docs For Class ezcWorkflowNodeVariableDecrement

Workflow::ezcWorkflowNodeVariableDecrement

Class ezcWorkflowNodeVariableDecrement

This node decrements a workflow variable by one when executed.

  1.  <?php
  2.  $dec = new ezcWorkflowNodeVariableDecrement( 'variable name' );
  3.  ?>

Incoming nodes: 1 Outgoing nodes: 1

Source for this file: /Workflow/src/nodes/variables/decrement.php

ezcWorkflowNode
   |
   --ezcWorkflowNodeArithmeticBase
      |
      --ezcWorkflowNodeVariableDecrement
Version:   //autogen//

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 decremented.

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.
Documentation generated by phpDocumentor 1.4.3