ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSessionWaitingList Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 28 of file class.ilSessionWaitingList.php.

Member Function Documentation

◆ addToList()

ilSessionWaitingList::addToList ( int  $a_usr_id)

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

References $DIC, and ilWaitingList\getObjId().

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

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