ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
27  return FALSE;
28  }
29 
30  $ilLog->write(__METHOD__.': Raise new event: Modules/Session addToWaitingList');
31  $ilAppEventHandler->raise(
32  "Modules/Session",
33  'addToWaitingList',
34  array(
35  'obj_id' => $this->getObjId(),
36  'usr_id' => $a_usr_id
37  )
38  );
39  return TRUE;
40  }
41 }
42 ?>
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.