ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilGroupWaitingList.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
28{
29 public function addToList(int $a_usr_id): bool
30 {
31 global $DIC;
32
33 $ilAppEventHandler = $DIC['ilAppEventHandler'];
34 $ilLog = $DIC['ilLog'];
35
36 if (!parent::addToList($a_usr_id)) {
37 return false;
38 }
39
40 $GLOBALS['DIC']->logger()->grp()->info('Raise new event: Modules/Group addToList.');
41 $ilAppEventHandler->raise(
42 "components/ILIAS/Group",
43 'addToWaitingList',
44 array(
45 'obj_id' => $this->getObjId(),
46 'usr_id' => $a_usr_id
47 )
48 );
49 return true;
50 }
51}
Waiting list for groups.
Base class for course and group waiting lists.
global $DIC
Definition: shib_login.php:26
$GLOBALS["DIC"]
Definition: wac.php:54