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

Waiting list for groups. More...

+ Inheritance diagram for ilGroupWaitingList:
+ Collaboration diagram for ilGroupWaitingList:

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

Waiting list for groups.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 35 of file class.ilGroupWaitingList.php.

Member Function Documentation

ilGroupWaitingList::addToList (   $a_usr_id)

Add to waiting list and raise event.

Parameters
int$a_usr_id

Reimplemented from ilWaitingList.

Definition at line 41 of file class.ilGroupWaitingList.php.

References $ilLog.

Referenced by ilGroupRegistrationGUI\add().

{
global $ilAppEventHandler, $ilLog;
if(!parent::addToList($a_usr_id))
{
return FALSE;
}
$ilLog->write(__METHOD__.': Raise new event: Modules/Group addToList');
$ilAppEventHandler->raise(
"Modules/Group",
'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: