ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
PhpIncludeInspection More...
Public Member Functions | |
__construct (ilNode $context) | |
Default constructor. More... | |
getContext () | |
Returns the parent object. More... | |
trigger ($params) | |
Trigger this detector. More... | |
getDetectorState () | |
Returns if the current detector state is satisfied or not. More... | |
setDetectorState ($new_state) | |
Sets a new detector state. More... | |
onActivate () | |
Method is called, when the parent node is activated. More... | |
onDeactivate () | |
Method is called, when the parent node is deactivated. More... | |
getActivated () | |
setName ($name) | |
getName () | |
getSourceNode () | |
setSourceNode ($source_node) | |
getVarName () | |
setVarName ($var_name) | |
Protected Attributes | |
$name | |
$source_node | |
$var_name | |
Private Attributes | |
$context | |
$detection_state = false | |
PhpIncludeInspection
PhpIncludeInspection ilDataDetector of the petri net based workflow engine.
/
Definition at line 17 of file class.ilDataDetector.php.
ilDataDetector::__construct | ( | ilNode | $context | ) |
Default constructor.
ilNode | $context |
Definition at line 47 of file class.ilDataDetector.php.
References $context.
ilDataDetector::getActivated | ( | ) |
ilDataDetector::getContext | ( | ) |
Returns the parent object.
Type is ilNode, implements ilWorkflowEngineElement
Implements ilWorkflowEngineElement.
Definition at line 56 of file class.ilDataDetector.php.
References $context.
Referenced by getDetectorState().
ilDataDetector::getDetectorState | ( | ) |
Returns if the current detector state is satisfied or not.
Implements ilDetector.
Definition at line 81 of file class.ilDataDetector.php.
References $name, $var_name, and getContext().
ilDataDetector::getName | ( | ) |
Implements ilWorkflowEngineElement.
Definition at line 163 of file class.ilDataDetector.php.
References $name.
ilDataDetector::getSourceNode | ( | ) |
ilDataDetector::getVarName | ( | ) |
ilDataDetector::onActivate | ( | ) |
Method is called, when the parent node is activated.
Implements ilDetector.
Definition at line 130 of file class.ilDataDetector.php.
ilDataDetector::onDeactivate | ( | ) |
Method is called, when the parent node is deactivated.
Implements ilDetector.
Definition at line 139 of file class.ilDataDetector.php.
ilDataDetector::setDetectorState | ( | $new_state | ) |
Sets a new detector state.
In this case, the only meaningful param is false, since it should only be set to true, if the detector was triggered. Reason this method exists, is to allow the workflow controller to "fast forward" workflows to set a non-default state. I.e. a workflow has to be set into a state in the middle of running. Use with care.
boolean | $new_state |
Definition at line 120 of file class.ilDataDetector.php.
ilDataDetector::setName | ( | $name | ) |
string | $name |
Implements ilWorkflowEngineElement.
Definition at line 155 of file class.ilDataDetector.php.
References $name.
ilDataDetector::setSourceNode | ( | $source_node | ) |
ilNode | $source_node |
Definition at line 179 of file class.ilDataDetector.php.
References $source_node.
ilDataDetector::setVarName | ( | $var_name | ) |
string | $var_name |
Definition at line 195 of file class.ilDataDetector.php.
References $var_name.
ilDataDetector::trigger | ( | $params | ) |
Trigger this detector.
Params are an array. These are part of the interface but ignored here.
array | $params |
Implements ilDetector.
Definition at line 71 of file class.ilDataDetector.php.
|
private |
Definition at line 24 of file class.ilDataDetector.php.
Referenced by __construct(), and getContext().
|
private |
Definition at line 31 of file class.ilDataDetector.php.
Referenced by getActivated().
|
protected |
Definition at line 34 of file class.ilDataDetector.php.
Referenced by getDetectorState(), getName(), and setName().
|
protected |
Definition at line 37 of file class.ilDataDetector.php.
Referenced by getSourceNode(), and setSourceNode().
|
protected |
Definition at line 40 of file class.ilDataDetector.php.
Referenced by getDetectorState(), getVarName(), and setVarName().