ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Learning progress access checks. More...
Static Public Member Functions | |
static | checkPermission ($a_permission, $a_ref_id, $a_user_id=null) |
wrapper for rbac access checks More... | |
static | checkAccess ($a_ref_id, $a_allow_only_read=true) |
check access to learning progress More... | |
Learning progress access checks.
Definition at line 33 of file class.ilLearningProgressAccess.php.
|
static |
check access to learning progress
int | $a_ref_id | reference ifd of object |
bool | $a_allow_only_read | read access is sufficient (see courses/groups) |
Definition at line 67 of file class.ilLearningProgressAccess.php.
References $ilUser, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_hasLearningProgressLearner(), ilObject\_lookupObjId(), ilObject\_lookupType(), and ilObjectLP\getInstance().
Referenced by ilObjContentObjectGUI\addTabs(), ilLMExplorerGUI\checkLPIcon(), ilLearningProgressGUI\editManual(), ilObjSurveyGUI\getTabs(), ilObjFolderGUI\getTabs(), ilObjExerciseGUI\getTabs(), ilObjFileBasedLMGUI\getTabs(), ilObjSAHSLearningModuleGUI\getTabs(), ilObjGroupGUI\getTabs(), ilObjSessionGUI\getTabs(), ilObjCourseGUI\getTabs(), ilObjTestGUI\getTabs(), ilObjSCORMLearningModuleGUI\offlineModeManager(), ilObjContentObjectGUI\setilLMMenu(), ilSAHSPresentationGUI\setInfoTabs(), ilObjFileGUI\setTabs(), ilObjMediaCastGUI\setTabs(), and ilLearningProgressGUI\updateManual().
|
static |
wrapper for rbac access checks
Definition at line 38 of file class.ilLearningProgressAccess.php.
References $GLOBALS, and ilObject\_lookupType().
Referenced by ilTrObjectUsersPropsTableGUI\__construct(), ilLearningProgressGUI\__getNextClass(), ilLearningProgressBaseGUI\__setSubTabs(), ilLPListOfObjectsGUI\editUser(), ilLearningProgressGUI\executeCommand(), ilLPCollectionSettingsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilTrMatrixTableGUI\getSelectableColumns(), ilLPListOfProgressGUI\show(), and ilLPListOfObjectsGUI\updateUser().