ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilLearningSequenceWaitingList Class Reference
+ Inheritance diagram for ilLearningSequenceWaitingList:
+ Collaboration diagram for ilLearningSequenceWaitingList:

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from ilWaitingList
static lookupListSize ($a_obj_id)
 Lookup waiting lit size. More...
 
static _deleteAll ($a_obj_id)
 delete all More...
 
static _deleteUser ($a_usr_id)
 Delete user. More...
 
static deleteUserEntry ($a_usr_id, $a_obj_id)
 Delete one user entry. More...
 
static _isOnList ($a_usr_id, $a_obj_id)
 Check if a user on the waiting list. More...
 
static _preloadOnListInfo ($a_usr_ids, $a_obj_ids)
 Preload on list info. More...
 
- Static Public Attributes inherited from ilWaitingList
static $is_on_list = array()
 

Detailed Description

Member Function Documentation

◆ addToList()

ilLearningSequenceWaitingList::addToList (   $usr_id)

Definition at line 10 of file class.ilLearningSequenceWaitingList.php.

References $DIC, $log, and ilWaitingList\getObjId().

11  {
12  global $DIC;
13 
14  $app_event_handler = $dic->event();
15  $log = $dic->logger();
16 
17  if (!parent::addToList($usr_id)) {
18  return false;
19  }
20 
21  $log()->lso()->info('Raise new event: Modules/LearningSerquence addToList.');
22  $app_event_handler->raise(
23  "Modules/LearningSequence",
24  'addToWaitingList',
25  array(
26  'obj_id' => $this->getObjId(),
27  'usr_id' => $usr_id
28  )
29  );
30 
31  return true;
32  }
global $DIC
Definition: saml.php:7
$log
Definition: sabredav.php:21
getObjId()
get obj id
+ Here is the call graph for this function:

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