ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilCourseWaitingList Class Reference

Course waiting list. More...

+ Inheritance diagram for ilCourseWaitingList:
+ Collaboration diagram for ilCourseWaitingList:

Public Member Functions

 addToList ($a_usr_id)
 Add to waiting list and raise event.
- Public Member Functions inherited from ilWaitingList
 __construct ($a_obj_id)
 Constructor.
 getObjId ()
 get obj id
 updateSubscriptionTime ($a_usr_id, $a_subtime)
 update subscription time
 removeFromList ($a_usr_id)
 remove usr from list
 isOnList ($a_usr_id)
 check if is on waiting list
 _preloadOnListInfo ($a_usr_ids, $a_obj_ids)
 Preload on list info.
 getCountUsers ()
 get number of users
 getPosition ($a_usr_id)
 get position
 getAllUsers ()
 get all users on waiting list
 getUser ($a_usr_id)
 get user
 getUserIds ()
 Get all user ids of users on waiting list.

Additional Inherited Members

- Static Public Member Functions inherited from ilWaitingList
static _deleteAll ($a_obj_id)
 delete all
static _deleteUser ($a_usr_id)
 Delete user.
static deleteUserEntry ($a_usr_id, $a_obj_id)
 Delete one user entry.
static _isOnList ($a_usr_id, $a_obj_id)
 Check if a user on the waiting list.
- Static Public Attributes inherited from ilWaitingList
static $is_on_list = array()

Detailed Description

Course waiting list.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e
Version
Id:
class.ilCourseWaitingList.php 53287 2014-09-11 14:05:12Z smeyer

Definition at line 16 of file class.ilCourseWaitingList.php.

Member Function Documentation

ilCourseWaitingList::addToList (   $a_usr_id)

Add to waiting list and raise event.

Parameters
int$a_usr_id

Reimplemented from ilWaitingList.

Definition at line 22 of file class.ilCourseWaitingList.php.

References $ilLog.

Referenced by ilCourseRegistrationGUI\add().

{
global $ilAppEventHandler, $ilLog;
if(!parent::addToList($a_usr_id))
{
return FALSE;
}
$ilLog->write(__METHOD__.': Raise new event: Modules/Course addToList');
$ilAppEventHandler->raise(
"Modules/Course",
'addToWaitingList',
array(
'obj_id' => $this->obj_id,
'usr_id' => $a_usr_id
)
);
return TRUE;
}

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: