|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilTimingsUser:Public Member Functions | |
| getContainerObjId () | |
| getContainerRefId () | |
| getItemIds () | |
| init () | |
| handleNewMembership (int $a_usr_id, ilDateTime $sub_date) | |
| handleUnsubscribe (int $a_usr_id) | |
Static Public Member Functions | |
| static | getInstanceByContainerId (int $a_container_obj_id) |
| static | lookupTimingsExceededByUser (array $a_user_ids) |
| Check if users currently exceeded ANY object. More... | |
| static | lookupTimings (array $a_user_ids, array &$a_meta=null, bool $a_only_exceeded=true) |
| Lookup references, users with exceeded timings. More... | |
| static | getObjectsWithInactiveLP (array $a_ref_ids, array &$a_obj_map=null) |
| Check object LP modes. More... | |
Protected Member Functions | |
| __construct (int $a_container_obj_id) | |
| Singleton constructor. More... | |
Protected Attributes | |
| ilTree | $tree |
| ilDBInterface | $db |
Private Attributes | |
| int | $container_obj_id = 0 |
| int | $container_ref_id = 0 |
| bool | $initialized = false |
| array | $item_ids = array() |
Static Private Attributes | |
| static array | $instances = array() |
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 Handle user timings
Definition at line 25 of file class.ilTimingsUser.php.
|
protected |
Singleton constructor.
Definition at line 41 of file class.ilTimingsUser.php.
References $DIC, and ilObject\_getAllReferences().
Here is the call graph for this function:| ilTimingsUser::getContainerObjId | ( | ) |
Definition at line 61 of file class.ilTimingsUser.php.
References $container_obj_id.
| ilTimingsUser::getContainerRefId | ( | ) |
Definition at line 66 of file class.ilTimingsUser.php.
References $container_ref_id.
Referenced by init().
Here is the caller graph for this function:
|
static |
Definition at line 53 of file class.ilTimingsUser.php.
Referenced by ilCourseAppEventListener\destroyTimings(), and ilCourseAppEventListener\initializeTimings().
Here is the caller graph for this function:| ilTimingsUser::getItemIds | ( | ) |
Definition at line 71 of file class.ilTimingsUser.php.
References $item_ids.
Referenced by handleNewMembership().
Here is the caller graph for this function:
|
static |
Check object LP modes.
| int[] | $a_ref_ids |
Definition at line 316 of file class.ilTimingsUser.php.
References $DIC, $ilDB, $query, $ref_id, $res, $type, ilLPObjSettings\_lookupDBModeForObjects(), ilObjectLP\getInstance(), ILIAS\Repository\int(), ilObjectLP\isSupportedObjectType(), ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by lookupTimings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTimingsUser::handleNewMembership | ( | int | $a_usr_id, |
| ilDateTime | $sub_date | ||
| ) |
Definition at line 86 of file class.ilTimingsUser.php.
References ilObjectActivation\getItem(), getItemIds(), IL_CAL_DAY, IL_CAL_UNIX, ilDateTime\increment(), and ilObjectActivation\TIMINGS_PRESETTING.
Here is the call graph for this function:| ilTimingsUser::handleUnsubscribe | ( | int | $a_usr_id | ) |
Definition at line 105 of file class.ilTimingsUser.php.
References $query.
| ilTimingsUser::init | ( | ) |
Definition at line 76 of file class.ilTimingsUser.php.
References getContainerRefId(), and ilObjectActivation\preloadData().
Here is the call graph for this function:
|
static |
Lookup references, users with exceeded timings.
| int[] | $a_user_ids |
Definition at line 139 of file class.ilTimingsUser.php.
References $DIC, $ilDB, $query, $ref_id, $res, ilLPStatus\_lookupCompletedForObject(), ilLogLevel\DEBUG, getObjectsWithInactiveLP(), ilParticipants\getUserMembershipAssignmentsByType(), ilCourseConstants\IL_CRS_VIEW_TIMING, ilCourseConstants\IL_CRS_VIEW_TIMING_ABSOLUTE, ilCourseConstants\IL_CRS_VIEW_TIMING_RELATIVE, ILIAS\Repository\int(), and ilObjectActivation\TIMINGS_PRESETTING.
Referenced by ilTimingsCronReminder\getExceededObjectsForUser(), and ilTimingsCronReminder\getObjectsWithTimingsForUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if users currently exceeded ANY object.
| int[] | $a_user_ids |
Definition at line 121 of file class.ilTimingsUser.php.
References $res.
Referenced by ilTimingsCronReminder\gatherUsersWithExceededTimings().
Here is the caller graph for this function:
|
private |
Definition at line 29 of file class.ilTimingsUser.php.
Referenced by getContainerObjId().
|
private |
Definition at line 30 of file class.ilTimingsUser.php.
Referenced by getContainerRefId().
|
protected |
Definition at line 36 of file class.ilTimingsUser.php.
|
private |
Definition at line 32 of file class.ilTimingsUser.php.
|
staticprivate |
Definition at line 27 of file class.ilTimingsUser.php.
|
private |
Definition at line 33 of file class.ilTimingsUser.php.
Referenced by getItemIds().
|
protected |
Definition at line 35 of file class.ilTimingsUser.php.