ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilSessionWaitingList Class Reference

Session waiting list. More...

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

Public Member Functions

 addToList (int $a_usr_id)
 
- Public Member Functions inherited from ilWaitingList
 __construct (int $a_obj_id)
 
 getObjId ()
 
 addToList (int $a_usr_id)
 
 updateSubscriptionTime (int $a_usr_id, int $a_subtime)
 
 removeFromList (int $a_usr_id)
 
 isOnList (int $a_usr_id)
 
 getCountUsers ()
 
 getPosition (int $a_usr_id)
 
 getAllUsers ()
 get all users on waiting list public More...
 
 getUser (int $a_usr_id)
 get user More...
 
 getUserIds ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ilWaitingList
static lookupListSize (int $a_obj_id)
 
static _deleteAll (int $a_obj_id)
 
static _deleteUser (int $a_usr_id)
 
static deleteUserEntry (int $a_usr_id, int $a_obj_id)
 
static _isOnList (int $a_usr_id, int $a_obj_id)
 
static _preloadOnListInfo (array $a_usr_ids, array $a_obj_ids)
 Preload on list info. More...
 
- Static Public Attributes inherited from ilWaitingList
static array $is_on_list = []
 
- Protected Attributes inherited from ilWaitingList
ilDBInterface $db
 
ilAppEventHandler $eventHandler
 

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$

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

Member Function Documentation

◆ addToList()

ilSessionWaitingList::addToList ( int  $a_usr_id)

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

References $DIC, and ilWaitingList\getObjId().

29  : bool
30  {
31  global $DIC;
32 
33  $ilAppEventHandler = $DIC->event();
34  $ilLog = $DIC->logger()->sess();
35 
36  if (!parent::addToList($a_usr_id)) {
37  return false;
38  }
39 
40  $ilLog->info('Raise new event: Modules/Session addToWaitingList');
41  $ilAppEventHandler->raise(
42  "components/ILIAS/Session",
43  'addToWaitingList',
44  array(
45  'obj_id' => $this->getObjId(),
46  'usr_id' => $a_usr_id
47  )
48  );
49  return true;
50  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

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