5 require_once
'./Services/WorkflowEngine/interfaces/ilDetector.php';
7 require_once
'./Services/WorkflowEngine/interfaces/ilWorkflowEngineElement.php';
76 if ($this->detection_state ==
false) {
107 $this->detection_state = $new_state;
109 if ($new_state ==
true) {
110 $this->context->notifyDetectorSatisfaction($this);
getDetectorState()
Returns if the current detector state is satisfied or not.
ilWorkflowEngineElement Interface is part of the petri net based workflow engine. ...
__construct(ilNode $context)
Default constructor.
trigger($params)
Trigger this detector.
setSourceNode($source_node)
setDetectorState($new_state)
Sets a new detector state.
onActivate()
Method is called, when the parent node is activated.
onDeactivate()
Method is called, when the parent node is deactivated.
ilDetector Interface is part of the petri net based workflow engine.
getContext()
Returns the parent object.