5 require_once
'./Services/WorkflowEngine/interfaces/ilDetector.php';
7 require_once
'./Services/WorkflowEngine/interfaces/ilWorkflowEngineElement.php';
83 $definitions = $this->
getContext()->getContext()->getInstanceVars();
87 foreach($definitions as $definition)
89 if($definition[
'id'] ==
$name)
91 if($definition[
'reference'])
93 $id = $definition[
'target'];
95 $name = $definition[
'name'];
104 $this->detection_state =
true;
122 $this->detection_state =
true;
123 $this->context->notifyDetectorSatisfaction($this);
ilWorkflowEngineElement Interface is part of the petri net based workflow engine. ...
__construct(ilNode $context)
Default constructor.
trigger($params)
Trigger this detector.
onDeactivate()
Method is called, when the parent node is deactivated.
getDetectorState()
Returns if the current detector state is satisfied or not.
onActivate()
Method is called, when the parent node is activated.
ilDetector Interface is part of the petri net based workflow engine.
getContext()
Returns the parent object.
setSourceNode($source_node)
setDetectorState($new_state)
Sets a new detector state.