This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
|
static | handleEvent (string $component, string $event, array $parameter) |
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning EventListener for LSO
Definition at line 24 of file class.ilLearningSequenceAppEventListener.php.
◆ getIlLPStatusWrapper()
static ilLearningSequenceAppEventListener::getIlLPStatusWrapper |
( |
| ) |
|
|
staticprotected |
◆ getIlTree()
static ilLearningSequenceAppEventListener::getIlTree |
( |
| ) |
|
|
staticprotected |
◆ getLSEventHandler()
static ilLearningSequenceAppEventListener::getLSEventHandler |
( |
| ) |
|
|
staticprotected |
◆ handleEvent()
static ilLearningSequenceAppEventListener::handleEvent |
( |
string |
$component, |
|
|
string |
$event, |
|
|
array |
$parameter |
|
) |
| |
|
static |
Definition at line 28 of file class.ilLearningSequenceAppEventListener.php.
31 case "Services/Tracking":
34 self::onServiceTrackingUpdateStatus($parameter);
38 case "Services/Object":
40 case "beforeDeletion":
41 self::onObjectDeletion($parameter);
44 self::onObjectToTrash($parameter);
47 $new_obj = $parameter[
'object'];
48 $origin_obj = $parameter[
'cloned_from_object'];
49 self::onObjectCloned($new_obj, $origin_obj);
54 case "Modules/LearningSequence":
56 case "deleteParticipant":
57 self::onParticipantDeletion($parameter);
59 case "addParticipant":
67 "ilLearningSequenceAppEventListener::handleEvent: " .
68 "Won't handle events of '$component'."
◆ onObjectCloned()
static ilLearningSequenceAppEventListener::onObjectCloned |
( |
ilObject |
$new_obj, |
|
|
ilObject |
$origin_obj |
|
) |
| |
|
staticprivate |
◆ onObjectDeletion()
static ilLearningSequenceAppEventListener::onObjectDeletion |
( |
array |
$parameter | ) |
|
|
staticprivate |
◆ onObjectToTrash()
static ilLearningSequenceAppEventListener::onObjectToTrash |
( |
array |
$parameter | ) |
|
|
staticprivate |
◆ onParticipantDeletion()
static ilLearningSequenceAppEventListener::onParticipantDeletion |
( |
array |
$parameter | ) |
|
|
staticprivate |
◆ onServiceTrackingUpdateStatus()
static ilLearningSequenceAppEventListener::onServiceTrackingUpdateStatus |
( |
array |
$parameter | ) |
|
|
staticprivate |
Definition at line 73 of file class.ilLearningSequenceAppEventListener.php.
75 if (self::$lp_event_handler === null) {
76 self::$lp_event_handler =
new ilLSLPEventHandler(self::getIlTree(), self::getIlLPStatusWrapper());
78 self::$lp_event_handler->updateLPForChildEvent($parameter);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ $lp_event_handler
The documentation for this class was generated from the following file: