ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
4include_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?>
addToList($a_usr_id)
Add to waiting list and raise event.
Base class for course and group waiting lists.