5 require_once
'./Services/WorkflowEngine/interfaces/ilEmitter.php';
7 require_once
'./Services/WorkflowEngine/interfaces/ilDetector.php';
9 require_once
'./Services/WorkflowEngine/interfaces/ilNode.php';
11 require_once
'./Services/WorkflowEngine/interfaces/ilWorkflowEngineElement.php';
54 $this->emitted =
false;
92 $instance_vars = $this->context->getContext()->getInstanceVars();
95 foreach($instance_vars as $instance_var)
97 if($instance_var[
'id'] == $this->var_name)
99 if($instance_var[
'reference'])
101 $target = $instance_var[
'target'];
106 foreach((
array)$this->context->getContext()->getInstanceVars() as $value)
114 if($this->target_detector instanceof
ilDetector)
116 $this->target_detector->trigger(
array());
118 $this->emitted =
true;
ilWorkflowEngineElement Interface is part of the petri net based workflow engine. ...
__construct(ilNode $context)
Default constructor.
getContext()
Returns a reference to the parent node of this emitter.
emit()
Executes this emitter after activating the target node.
setTargetDetector(ilDetector $target_detector)
Sets the target detector for this emitter.
Create styles array
The data for the language used.
ilDetector Interface is part of the petri net based workflow engine.
getTargetDetector()
Gets the currently set target detector of this emitter.
ilEmitter Interface is part of the petri net based workflow engine.