ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilSessionWaitingList.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2011 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once('./Services/Membership/classes/class.ilWaitingList.php');
5 
15 {
16 
21  public function addToList($a_usr_id)
22  {
23  global $ilAppEventHandler, $ilLog;
24 
25  if (!parent::addToList($a_usr_id)) {
26  return false;
27  }
28 
29  $ilLog->write(__METHOD__ . ': Raise new event: Modules/Session addToWaitingList');
30  $ilAppEventHandler->raise(
31  "Modules/Session",
32  'addToWaitingList',
33  array(
34  'obj_id' => $this->getObjId(),
35  'usr_id' => $a_usr_id
36  )
37  );
38  return true;
39  }
40 }
Base class for course and group waiting lists.
Create styles array
The data for the language used.
getObjId()
get obj id
addToList($a_usr_id)
Add to waiting list and raise event.