* $workflow = new ezcWorkflow( 'Test' ); * $workflow->startNode->addOuttNode( ....some other node here .. ); * * * @package Workflow * @version 1.1rc1 */ 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 * @ignore */ public function execute( ezcWorkflowExecution $execution ) { $this->outNodes[0]->activate( $execution, $this, $execution->startThread() ); return parent::execute( $execution ); } } ?>