ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
PhpIncludeInspection More...
Public Member Functions | |
__construct (ilWorkflow $context) | |
Default constructor. More... | |
activate () | |
Activates the node. More... | |
deactivate () | |
Deactivates the node. More... | |
checkTransitionPreconditions () | |
Checks, if the preconditions of the node to transit are met. More... | |
attemptTransition () | |
Attempts to transit the node. More... | |
executeTransition () | |
Executes the transition, calls all activities and emitters to execute. More... | |
notifyDetectorSatisfaction (ilDetector $detector) | |
This method is called by detectors, that just switched to being satisfied. More... | |
isForwardConditionNode () | |
setIsForwardConditionNode ($is_forward_condition_node) | |
Public Member Functions inherited from ilBaseNode | |
addDetector (ilDetector $detector) | |
Adds a detector to the list of detectors. More... | |
getDetectors () | |
Returns all currently set detectors. More... | |
addEmitter (ilEmitter $emitter) | |
Adds an emitter to the list of emitters. More... | |
getEmitters () | |
Returns all currently set emitters. More... | |
addActivity (ilActivity $activity) | |
Adds an activity to the list of activities. More... | |
getActivities () | |
Returns all currently set activities. More... | |
getContext () | |
Returns a reference to the parent workflow object. More... | |
setName ($name) | |
getName () | |
getRuntimeVars () | |
setRuntimeVars ($runtime_vars) | |
getRuntimeVar ($name) | |
setRuntimeVar ($name, $value) | |
onActivate () | |
Method called on activation of the node. More... | |
onDeactivate () | |
Method calles on deactivation of the node. More... | |
isActive () | |
Returns the activation status of the node. More... | |
attemptTransition () | |
checkTransitionPreconditions () | |
executeTransition () | |
activate () | |
deactivate () | |
notifyDetectorSatisfaction (ilDetector $detector) | |
Data Fields | |
$is_forward_condition_event | |
$ident | |
Private Member Functions | |
executeActivities () | |
Executes all attached activities. More... | |
executeEmitters () | |
Executes all attached emitters. More... | |
Private Attributes | |
$is_forward_condition_node | |
Additional Inherited Members | |
Protected Attributes inherited from ilBaseNode | |
$context | |
$detectors | |
$emitters | |
$activities | |
$active = false | |
$name | |
$runtime_vars | |
PhpIncludeInspection
Workflow Node of the petri net based workflow engine.
/
Definition at line 15 of file class.ilBasicNode.php.
ilBasicNode::__construct | ( | ilWorkflow | $context | ) |
Default constructor.
ilWorkflow | $context | Reference to the workflow the node is attached to. |
Definition at line 41 of file class.ilBasicNode.php.
References ilBaseNode\$context, and array.
ilBasicNode::activate | ( | ) |
Activates the node.
Implements ilNode.
Definition at line 56 of file class.ilBasicNode.php.
References attemptTransition(), ilBaseNode\isActive(), and ilBaseNode\onActivate().
ilBasicNode::attemptTransition | ( | ) |
Attempts to transit the node.
Basically, this checks for preconditions and transits, returning true or false if preconditions are not met, aka detectors are not fully satisfied.
Implements ilNode.
Definition at line 108 of file class.ilBasicNode.php.
References checkTransitionPreconditions(), and executeTransition().
Referenced by activate(), and notifyDetectorSatisfaction().
ilBasicNode::checkTransitionPreconditions | ( | ) |
Checks, if the preconditions of the node to transit are met.
Implements ilNode.
Definition at line 88 of file class.ilBasicNode.php.
Referenced by attemptTransition().
ilBasicNode::deactivate | ( | ) |
Deactivates the node.
Implements ilNode.
Definition at line 74 of file class.ilBasicNode.php.
References ilBaseNode\onDeactivate().
Referenced by executeTransition().
|
private |
Executes all attached activities.
Definition at line 121 of file class.ilBasicNode.php.
Referenced by executeTransition().
|
private |
Executes all attached emitters.
Definition at line 133 of file class.ilBasicNode.php.
Referenced by executeTransition().
ilBasicNode::executeTransition | ( | ) |
Executes the transition, calls all activities and emitters to execute.
Implements ilNode.
Definition at line 145 of file class.ilBasicNode.php.
References deactivate(), executeActivities(), and executeEmitters().
Referenced by attemptTransition().
ilBasicNode::isForwardConditionNode | ( | ) |
Definition at line 170 of file class.ilBasicNode.php.
References $is_forward_condition_node.
ilBasicNode::notifyDetectorSatisfaction | ( | ilDetector | $detector | ) |
This method is called by detectors, that just switched to being satisfied.
ilDetector | $detector | ilDetector which is now satisfied. |
Implements ilNode.
Definition at line 160 of file class.ilBasicNode.php.
References attemptTransition(), and ilBaseNode\isActive().
ilBasicNode::setIsForwardConditionNode | ( | $is_forward_condition_node | ) |
boolean | $is_forward_condition_node |
Definition at line 178 of file class.ilBasicNode.php.
References $is_forward_condition_node.
ilBasicNode::$ident |
Definition at line 34 of file class.ilBasicNode.php.
ilBasicNode::$is_forward_condition_event |
Definition at line 31 of file class.ilBasicNode.php.
|
private |
Definition at line 28 of file class.ilBasicNode.php.
Referenced by isForwardConditionNode(), and setIsForwardConditionNode().