ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
StartEvent_Blank_goldsample.php
Go to the documentation of this file.
1 <?php
2 require_once './Services/WorkflowEngine/classes/workflows/class.ilBaseWorkflow.php';
3 require_once './Services/WorkflowEngine/classes/nodes/class.ilBasicNode.php';
4 
6  {
7 
8  public static $startEventRequired = false;
9 
10  public function __construct()
11  {
12 
13  $_v_StartEvent_1 = new ilBasicNode($this);
14  $this->addNode($_v_StartEvent_1);
15  $_v_StartEvent_1->setName('$_v_StartEvent_1');
16 
17  $this->setStartNode($_v_StartEvent_1);
18 
19  }
20  }
21 
22 ?>
PhpIncludeInspection
addNode(ilNode $node)
This method adds a node to the workflow.
PhpIncludeInspection
setStartNode(ilNode $node)
Sets the start node of the workflow.