ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilGroupWaitingList.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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 }
Base class for course and group waiting lists.
$GLOBALS["DIC"]
Definition: wac.php:53
global $DIC
Definition: shib_login.php:22
Waiting list for groups.