ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
PhpIncludeInspection More...
Public Member Functions | |
__construct (ilNode $context) | |
Default constructor. More... | |
setTargetDetector (ilDetector $a_target_detector) | |
Sets the target detector for this emitter. More... | |
getTargetDetector () | |
Gets the currently set target detector of this emitter. More... | |
getContext () | |
Returns a reference to the parent node of this emitter. More... | |
emit () | |
Executes this emitter after activating the target node. More... | |
getActivated () | |
setName ($name) | |
getName () | |
Protected Attributes | |
$name | |
Private Attributes | |
$target_detector | |
$context | |
$emitted | |
PhpIncludeInspection
PhpIncludeInspection PhpIncludeInspection PhpIncludeInspection ilActivationEmitter is part of the petri net based workflow engine.
The activation emitter is an internal signals yeoman, doing nothing but activating the designated target node. While the simple emitter triggers an open detector, this emitter is used to activate inactive nodes. In a regular petri net, all nodes are active. The modelling of nodes, which may only transit when preconditions are met, offer a decent amount of planning. To offer a shortcut and to optimize load for the workflowcontroller, nodes default to being inactive. They, as well as their detectors, feature methods that are fired during activation/deactivation. The activation emitter sits in the slot of an emitter, due to the small interface involved a comfortable place, and signals not only to a node, but activates the target node before.
/
Definition at line 32 of file class.ilActivationEmitter.php.
ilActivationEmitter::__construct | ( | ilNode | $context | ) |
Default constructor.
ilNode | $context | Reference to the parent node. |
Definition at line 59 of file class.ilActivationEmitter.php.
References $context.
ilActivationEmitter::emit | ( | ) |
Executes this emitter after activating the target node.
Implements ilEmitter.
Definition at line 98 of file class.ilActivationEmitter.php.
References array.
ilActivationEmitter::getActivated | ( | ) |
ilActivationEmitter::getContext | ( | ) |
Returns a reference to the parent node of this emitter.
Implements ilWorkflowEngineElement.
Definition at line 90 of file class.ilActivationEmitter.php.
References $context.
ilActivationEmitter::getName | ( | ) |
Implements ilWorkflowEngineElement.
Definition at line 125 of file class.ilActivationEmitter.php.
References $name.
ilActivationEmitter::getTargetDetector | ( | ) |
Gets the currently set target detector of this emitter.
Definition at line 80 of file class.ilActivationEmitter.php.
References $target_detector.
ilActivationEmitter::setName | ( | $name | ) |
string | $name |
Implements ilWorkflowEngineElement.
Definition at line 117 of file class.ilActivationEmitter.php.
References $name.
ilActivationEmitter::setTargetDetector | ( | ilDetector | $a_target_detector | ) |
Sets the target detector for this emitter.
ilDetector | $a_target_detector |
Definition at line 70 of file class.ilActivationEmitter.php.
|
private |
Definition at line 46 of file class.ilActivationEmitter.php.
Referenced by __construct(), and getContext().
|
private |
Definition at line 49 of file class.ilActivationEmitter.php.
Referenced by getActivated().
|
protected |
Definition at line 52 of file class.ilActivationEmitter.php.
|
private |
Definition at line 39 of file class.ilActivationEmitter.php.
Referenced by getTargetDetector().