* startNode->addOutNode( ....some other node here .. ); * ?> * * * @package Workflow * @version //autogen// */ class ezcWorkflowNodeStart extends ezcWorkflowNode { /** * Constraint: The minimum number of incoming nodes this node has to have * to be valid. * * @var integer */ protected $minInNodes = 0; /** * Constraint: The maximum number of incoming nodes this node has to have * to be valid. * * @var integer */ protected $maxInNodes = 0; /** * Activates the sole output node. * * @param ezcWorkflowExecution $execution * @return boolean true when the node finished execution, * and false otherwise * @ignore */ public function execute( ezcWorkflowExecution $execution ) { $this->outNodes[0]->activate( $execution, $this, $execution->startThread() ); return parent::execute( $execution ); } } ?>