ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
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->obj_id,
36  'usr_id' => $a_usr_id
37  )
38  );
39  return TRUE;
40  }
41 }
42 ?>
Base class for course and group waiting lists.
addToList($a_usr_id)
Add to waiting list and raise event.