5require_once
'./Services/WorkflowEngine/interfaces/ilEmitter.php';
7require_once
'./Services/WorkflowEngine/interfaces/ilDetector.php';
9require_once
'./Services/WorkflowEngine/interfaces/ilNode.php';
11require_once
'./Services/WorkflowEngine/interfaces/ilWorkflowEngineElement.php';
62 $this->emitted =
false;
72 $this->target_detector = $a_target_detector;
100 $this->emitted =
true;
101 $target_node = $this->target_detector->getContext();
102 $target_node->activate();
103 $this->target_detector->trigger(array());
An exception for terminatinating execution or to throw for unit testing.
@noinspection PhpIncludeInspection
setTargetDetector(ilDetector $a_target_detector)
Sets the target detector for this emitter.
getTargetDetector()
Gets the currently set target detector of this emitter.
getContext()
Returns a reference to the parent node of this emitter.
__construct(ilNode $context)
Default constructor.
emit()
Executes this emitter after activating the target node.
ilDetector Interface is part of the petri net based workflow engine.
ilEmitter Interface is part of the petri net based workflow engine.
@noinspection PhpIncludeInspection
ilWorkflowEngineElement Interface is part of the petri net based workflow engine.