|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilWaitingList:
Collaboration diagram for ilWaitingList:Public Member Functions | |
| __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 () | |
Static Public Member Functions | |
| 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 | |
| static array | $is_on_list = [] |
Protected Attributes | |
| ilDBInterface | $db |
| ilAppEventHandler | $eventHandler |
Private Member Functions | |
| read () | |
Private Attributes | |
| int | $obj_id = 0 |
| array | $user_ids = [] |
| array | $users = [] |
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 Base class for course and group waiting lists
Definition at line 26 of file class.ilWaitingList.php.
| ilWaitingList::__construct | ( | int | $a_obj_id | ) |
|
static |
Definition at line 60 of file class.ilWaitingList.php.
References $DIC, $ilDB, and $res.
Referenced by ilSoapCourseAdministration\excludeCourseMember().
Here is the caller graph for this function:
|
static |
Definition at line 70 of file class.ilWaitingList.php.
References $DIC, $ilDB, and $res.
Referenced by ilParticipants\_deleteUser().
Here is the caller graph for this function:
|
static |
Definition at line 135 of file class.ilWaitingList.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjGroupAccess\_checkAccess(), ilObjSessionAccess\_checkAccess(), ilObjCourseAccess\_checkAccess(), ilObjCourseListGUI\getProperties(), ilObjGroupListGUI\getProperties(), ilObjGroupGUI\getTabs(), ilObjCourseGUI\getTabs(), and ilObjSessionGUI\showJoinRequestButton().
Here is the caller graph for this function:
|
static |
Preload on list info.
This is used, e.g. in the repository to prevent multiple reads on the waiting list table. The function is triggered in the preload functions of ilObjCourseAccess and ilObjGroupAccess.
Definition at line 158 of file class.ilWaitingList.php.
References $DIC, $ilDB, $obj_id, $res, and ILIAS\Repository\int().
Referenced by ilObjGroupAccess\_preloadData(), and ilObjCourseAccess\_preloadData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWaitingList::addToList | ( | int | $a_usr_id | ) |
Definition at line 95 of file class.ilWaitingList.php.
References $res, getObjId(), isOnList(), and read().
Here is the call graph for this function:
|
static |
Definition at line 79 of file class.ilWaitingList.php.
Referenced by ilParticipant\add(), ilParticipants\add(), and ilObjSessionGUI\unregisterObject().
Here is the caller graph for this function:| ilWaitingList::getAllUsers | ( | ) |
get all users on waiting list public
Definition at line 194 of file class.ilWaitingList.php.
References $users.
Referenced by ilCourseXMLWriter\__buildWaitingList().
Here is the caller graph for this function:| ilWaitingList::getCountUsers | ( | ) |
Definition at line 179 of file class.ilWaitingList.php.
Referenced by ilCourseRegistrationGUI\fillMaxMembers(), and ilGroupRegistrationGUI\fillMaxMembers().
Here is the caller graph for this function:| ilWaitingList::getObjId | ( | ) |
Definition at line 90 of file class.ilWaitingList.php.
References $obj_id.
Referenced by ilLearningSequenceWaitingList\addToList(), ilSessionWaitingList\addToList(), ilGroupWaitingList\addToList(), ilCourseWaitingList\addToList(), addToList(), read(), ilCourseWaitingList\removeFromList(), removeFromList(), and updateSubscriptionTime().
Here is the caller graph for this function:| ilWaitingList::getPosition | ( | int | $a_usr_id | ) |
Definition at line 184 of file class.ilWaitingList.php.
Referenced by ilCourseRegistrationGUI\fillMaxMembers(), and ilGroupRegistrationGUI\fillMaxMembers().
Here is the caller graph for this function:| ilWaitingList::getUser | ( | int | $a_usr_id | ) |
get user
| int | usr_id |
Definition at line 204 of file class.ilWaitingList.php.
| ilWaitingList::getUserIds | ( | ) |
| ilWaitingList::isOnList | ( | int | $a_usr_id | ) |
Definition at line 130 of file class.ilWaitingList.php.
Referenced by addToList(), ilCourseRegistrationGUI\fillMaxMembers(), and ilGroupRegistrationGUI\fillMaxMembers().
Here is the caller graph for this function:
|
static |
Definition at line 47 of file class.ilWaitingList.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjGroupAccess\lookupRegistrationInfo(), and ilObjCourseAccess\lookupRegistrationInfo().
Here is the caller graph for this function:
|
private |
Definition at line 217 of file class.ilWaitingList.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, getObjId(), and ILIAS\Repository\int().
Referenced by __construct(), addToList(), and removeFromList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWaitingList::removeFromList | ( | int | $a_usr_id | ) |
Definition at line 120 of file class.ilWaitingList.php.
References getObjId(), and read().
Here is the call graph for this function:| ilWaitingList::updateSubscriptionTime | ( | int | $a_usr_id, |
| int | $a_subtime | ||
| ) |
Definition at line 111 of file class.ilWaitingList.php.
References $res, and getObjId().
Here is the call graph for this function:
|
protected |
Definition at line 32 of file class.ilWaitingList.php.
|
protected |
Definition at line 33 of file class.ilWaitingList.php.
|
static |
Definition at line 28 of file class.ilWaitingList.php.
|
private |
Definition at line 29 of file class.ilWaitingList.php.
Referenced by _preloadOnListInfo(), and getObjId().
|
private |
Definition at line 30 of file class.ilWaitingList.php.
Referenced by getUserIds().
|
private |
Definition at line 31 of file class.ilWaitingList.php.
Referenced by getAllUsers().