ILIAS  release_8 Revision v8.24
class.ilSessionWaitingList.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
29{
30 public function addToList(int $a_usr_id): bool
31 {
32 global $DIC;
33
34 $ilAppEventHandler = $DIC->event();
35 $ilLog = $DIC->logger()->sess();
36
37 if (!parent::addToList($a_usr_id)) {
38 return false;
39 }
40
41 $ilLog->info('Raise new event: Modules/Session addToWaitingList');
42 $ilAppEventHandler->raise(
43 "Modules/Session",
44 'addToWaitingList',
45 array(
46 'obj_id' => $this->getObjId(),
47 'usr_id' => $a_usr_id
48 )
49 );
50 return true;
51 }
52}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28