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

Session waiting list. More...

+ Inheritance diagram for ilSessionWaitingList:
+ Collaboration diagram for ilSessionWaitingList:

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

Session waiting list.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e
Version
Id:
class.ilSessionWaitingList.php 53288 2014-09-11 14:06:56Z smeyer

Definition at line 14 of file class.ilSessionWaitingList.php.

Member Function Documentation

ilSessionWaitingList::addToList (   $a_usr_id)

Add to waiting list and raise event.

Parameters
int$a_usr_id

Reimplemented from ilWaitingList.

Definition at line 21 of file class.ilSessionWaitingList.php.

References $ilLog.

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

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