ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
class.ilCourseWaitingList.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2011 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
6include_once('./Services/Membership/classes/class.ilWaitingList.php');
7
17{
22 public function addToList($a_usr_id)
23 {
24 global $ilAppEventHandler, $ilLog;
25
26 if(!parent::addToList($a_usr_id))
27 {
28 return FALSE;
29 }
30
31 $ilLog->write(__METHOD__.': Raise new event: Modules/Course addToList');
32 $ilAppEventHandler->raise(
33 "Modules/Course",
34 'addToWaitingList',
35 array(
36 'obj_id' => $this->obj_id,
37 'usr_id' => $a_usr_id
38 )
39 );
40 return TRUE;
41 }
42}
43?>
addToList($a_usr_id)
Add to waiting list and raise event.
Base class for course and group waiting lists.