|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ilLearningProgressBaseGUI:
Collaboration diagram for ilLearningProgressBaseGUI:Public Member Functions | |
| __construct (int $a_mode, int $a_ref_id=0, int $a_usr_id=0) | |
| executeCommand () | |
| isAnonymized () | |
| getMode () | |
| getRefId () | |
| getObjId () | |
| getUserId () | |
| __getDefaultCommand () | |
| __setSubTabs (int $a_active) | |
| __buildFooter () | |
| __buildHeader () | |
| __showObjectDetails (ilInfoScreenGUI $info, int $item_id=0, string $item_type='', bool $add_section=true) | |
| show details about current object. More... | |
| __appendLPDetails (ilInfoScreenGUI $info, int $item_id, int $user_id) | |
| __getLegendHTML (int $variant=ilLPStatusIcons::ICON_VARIANT_LONG) | |
| __showEditUser (int $a_user_id, int $a_ref_id, ?string $a_cancel=null, int $a_sub_id=0) | |
| __updateUser (int $user_id, int $obj_id) | |
Static Public Member Functions | |
| static | _getStatusText (int $a_status, ?ilLanguage $a_lng=null) |
| Get status alt text. More... | |
| static | __readStatus (int $a_obj_id, int $user_id) |
| @noinspection PhpInconsistentReturnPointsInspection More... | |
| static | isObjectOffline (int $a_obj_id, string $a_type='') |
Data Fields | |
| const | LP_CONTEXT_PERSONAL_DESKTOP = 1 |
| const | LP_CONTEXT_ADMINISTRATION = 2 |
| const | LP_CONTEXT_REPOSITORY = 3 |
| const | LP_CONTEXT_USER_FOLDER = 4 |
| const | LP_CONTEXT_ORG_UNIT = 5 |
Protected Member Functions | |
| handleCommand () | |
| initUserIdFromQuery () | |
| readTypicalLearningTimeInSeconds (int $obj_id, int $sub_id, string $type) | |
| initEditUserForm (int $a_user_id, int $a_obj_id, ?string $a_cancel=null) | |
Protected Attributes | |
| RefineryFactory | $refinery |
| HttpServices | $http |
| ilGlobalTemplateInterface | $tpl |
| ilHelpGUI | $help |
| ilCtrlInterface | $ctrl |
| ilLanguage | $lng |
| ilLogger | $logger |
| ilTabsGUI | $tabs_gui |
| ilToolbarGUI | $toolbar |
| ilObjectDataCache | $ilObjectDataCache |
| ilObjUser | $user |
| ilAccessHandler | $access |
| ilRbacSystem | $rbacsystem |
| ilRbacReview | $rbacreview |
| ilTree | $tree |
| UIFactory | $ui_factory |
| UIRenderer | $ui_renderer |
| LOMServices | $lom_services |
| ilErrorHandling | $error |
| bool | $anonymized |
| int | $usr_id = 0 |
| int | $ref_id = 0 |
| int | $obj_id = 0 |
| string | $obj_type = '' |
| int | $mode = 0 |
| const | LP_ACTIVE_SETTINGS = 1 |
| const | LP_ACTIVE_OBJECTS = 2 |
| const | LP_ACTIVE_PROGRESS = 3 |
| const | LP_ACTIVE_USERS = 5 |
| const | LP_ACTIVE_SUMMARY = 6 |
| const | LP_ACTIVE_OBJSTATACCESS = 7 |
| const | LP_ACTIVE_OBJSTATTYPES = 8 |
| const | LP_ACTIVE_OBJSTATDAILY = 9 |
| const | LP_ACTIVE_OBJSTATADMIN = 10 |
| const | LP_ACTIVE_MATRIX = 11 |
Definition at line 35 of file class.ilLearningProgressBaseGUI.php.
| ilLearningProgressBaseGUI::__construct | ( | int | $a_mode, |
| int | $a_ref_id = 0, |
||
| int | $a_usr_id = 0 |
||
| ) |
Reimplemented in ilLPListOfProgressGUI.
Definition at line 82 of file class.ilLearningProgressBaseGUI.php.
References $DIC, ilObjUserTracking\_enabledUserRelatedData(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectLP\getInstance(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ilObjectDataCache\lookupObjId(), ilObjectDataCache\lookupType(), ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilLearningProgressBaseGUI::__appendLPDetails | ( | ilInfoScreenGUI | $info, |
| int | $item_id, | ||
| int | $user_id | ||
| ) |
Definition at line 432 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfProgressGUI\details().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__buildFooter | ( | ) |
Definition at line 335 of file class.ilLearningProgressBaseGUI.php.
References getMode(), and LP_CONTEXT_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\handleCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__buildHeader | ( | ) |
Definition at line 343 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\handleCommand().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__getDefaultCommand | ( | ) |
Definition at line 197 of file class.ilLearningProgressBaseGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilLPObjectStatisticsGUI\handleCommand(), ilLPListOfObjectsGUI\handleCommand(), ilLPListOfProgressGUI\handleCommand(), and ilLPListOfSettingsGUI\handleCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__getLegendHTML | ( | int | $variant = ilLPStatusIcons::ICON_VARIANT_LONG | ) |
Definition at line 586 of file class.ilLearningProgressBaseGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\UICore\GlobalTemplate\get(), ilLPStatusIcons\getInstance(), ILIAS\Repository\lng(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by ilLPListOfObjectsGUI\__listObjects(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfObjectsGUI\__showUsersList(), ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\showObjectSummary(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
@noinspection PhpInconsistentReturnPointsInspection
Definition at line 566 of file class.ilLearningProgressBaseGUI.php.
References $user_id, ilLPStatus\_lookupStatus(), ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.
Referenced by ilObjSCORMLearningModule\exportSelected().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__setSubTabs | ( | int | $a_active | ) |
Definition at line 205 of file class.ilLearningProgressBaseGUI.php.
References ilObjUserTracking\_enabledUserRelatedData(), ilObjUserTracking\_hasLearningProgressLearner(), ilLearningProgressAccess\checkPermission(), ILIAS\Repository\ctrl(), ilObjectLP\getInstance(), getMode(), getRefId(), getUserId(), isAnonymized(), ilObjectDataCache\lookupObjId(), ilObjectDataCache\lookupType(), LP_ACTIVE_MATRIX, LP_ACTIVE_OBJECTS, LP_ACTIVE_SETTINGS, LP_ACTIVE_SUMMARY, LP_CONTEXT_ORG_UNIT, LP_CONTEXT_PERSONAL_DESKTOP, LP_CONTEXT_REPOSITORY, LP_CONTEXT_USER_FOLDER, and ilObjectLP\supportsMatrixView().
Referenced by ilLearningProgressGUI\handleCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__showEditUser | ( | int | $a_user_id, |
| int | $a_ref_id, | ||
| ?string | $a_cancel = null, |
||
| int | $a_sub_id = 0 |
||
| ) |
Definition at line 696 of file class.ilLearningProgressBaseGUI.php.
References ilObject\_lookupObjId().
Referenced by ilLPListOfObjectsGUI\editUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__showObjectDetails | ( | ilInfoScreenGUI | $info, |
| int | $item_id = 0, |
||
| string | $item_type = '', |
||
| bool | $add_section = true |
||
| ) |
show details about current object.
Uses an existing info_gui object.
Definition at line 382 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfObjectsGUI\details(), ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\editUser(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__updateUser | ( | int | $user_id, |
| int | $obj_id | ||
| ) |
Definition at line 714 of file class.ilLearningProgressBaseGUI.php.
References $user_id, and ilLPStatusWrapper\_updateStatus().
Referenced by ilLPListOfObjectsGUI\updateUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get status alt text.
Definition at line 351 of file class.ilLearningProgressBaseGUI.php.
References $lng.
Referenced by ilSCORM2004TrackingItemsTableGUI\exportValue(), ilSCORMTrackingItemsTableGUI\exportValue(), ilTrSummaryTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderExcel(), ilLPProgressTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLPObjectStatisticsLPTableGUI\getGraph(), ilLPProgressBlockGUI\getLegacyContent(), ilMyStaffGUI\getUserLpStatusAsHtml(), ilMyStaffGUI\getUserLpStatusAsText(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilSCORMTrackingItemsTableGUI\parseValue(), and ilLPStatusIcons\renderIconForStatus().
Here is the caller graph for this function:
|
final |
Definition at line 124 of file class.ilLearningProgressBaseGUI.php.
References ilObjOrgUnitAccess\_checkAccessToUserLearningProgress(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjUserTracking\_hasLearningProgressOtherUsers(), ILIAS\Repository\access(), ilLearningProgressAccess\checkAccess(), getMode(), getRefId(), getUserId(), handleCommand(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilLearningProgressBaseGUI::getMode | ( | ) |
Definition at line 160 of file class.ilLearningProgressBaseGUI.php.
References $mode.
Referenced by __buildFooter(), ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfProgressGUI\details(), executeCommand(), ilLearningProgressGUI\handleCommand(), ilLPListOfObjectsGUI\show(), and ilLPListOfProgressGUI\show().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::getObjId | ( | ) |
Definition at line 170 of file class.ilLearningProgressBaseGUI.php.
References $obj_id.
Referenced by ilLPListOfSettingsGUI\__construct(), ilLPListOfSettingsGUI\assign(), ilLPListOfSettingsGUI\deassign(), ilLPListOfSettingsGUI\groupMaterials(), ilLearningProgressGUI\initCollectionManualForm(), ilLPListOfSettingsGUI\releaseMaterials(), ilLPListOfSettingsGUI\saveObligatoryMaterials(), ilLPListOfSettingsGUI\saveSettings(), ilLearningProgressGUI\showtlt(), ilLearningProgressGUI\updateManual(), and ilLPListOfSettingsGUI\updateTLT().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::getRefId | ( | ) |
Definition at line 165 of file class.ilLearningProgressBaseGUI.php.
References $ref_id.
Referenced by ilLPListOfObjectsGUI\__construct(), ilLearningProgressGUI\__getNextClass(), ilLPListOfObjectsGUI\__initDetails(), ilLPListOfProgressGUI\__initDetails(), __setSubTabs(), ilLPListOfProgressGUI\details(), ilLearningProgressGUI\editManual(), executeCommand(), ilLPListOfSettingsGUI\getTableByMode(), ilLearningProgressGUI\handleCommand(), ilLearningProgressGUI\initCollectionManualForm(), ilLPListOfObjectsGUI\show(), ilLPListOfProgressGUI\show(), ilLPListOfObjectsGUI\showObjectSummary(), ilLearningProgressGUI\showtlt(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLearningProgressGUI\updateManual().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::getUserId | ( | ) |
Definition at line 186 of file class.ilLearningProgressBaseGUI.php.
References $usr_id, and initUserIdFromQuery().
Referenced by __setSubTabs(), executeCommand(), ilLearningProgressGUI\handleCommand(), ilLPListOfProgressGUI\handleCommand(), and ilLPListOfProgressGUI\show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
Reimplemented in ilLearningProgressGUI, ilLPObjectStatisticsGUI, ilLPListOfObjectsGUI, ilLPListOfProgressGUI, and ilLPListOfSettingsGUI.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 637 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 175 of file class.ilLearningProgressBaseGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilLPListOfObjectsGUI\editUser(), getUserId(), ilLPListOfObjectsGUI\handleCommand(), ilLPListOfObjectsGUI\initUserIdFromRequest(), and ilLPListOfObjectsGUI\userDetails().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::isAnonymized | ( | ) |
Definition at line 155 of file class.ilLearningProgressBaseGUI.php.
References $anonymized.
Referenced by __setSubTabs(), ilLPListOfObjectsGUI\__showUsersList(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
Here is the caller graph for this function:
|
static |
| int | $a_obj_id | |
| string | $a_type |
Definition at line 748 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPProgressTableGUI\getItems(), and ilTrSummaryTableGUI\getItems().
Here is the caller graph for this function:
|
protected |
Definition at line 420 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 48 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 57 of file class.ilLearningProgressBaseGUI.php.
Referenced by isAnonymized().
|
protected |
Definition at line 41 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 55 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 40 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 38 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 46 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 42 of file class.ilLearningProgressBaseGUI.php.
Referenced by _getStatusText().
|
protected |
Definition at line 43 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 54 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 62 of file class.ilLearningProgressBaseGUI.php.
Referenced by getMode(), and ilLPListOfSettingsGUI\initFormSettings().
|
protected |
Definition at line 60 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfProgressGUI\details(), and getObjId().
|
protected |
Definition at line 61 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 50 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 49 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 59 of file class.ilLearningProgressBaseGUI.php.
Referenced by getRefId(), and ilLPListOfSettingsGUI\handleLPUsageInfo().
|
protected |
Definition at line 37 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 44 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 45 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 39 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfSettingsGUI\handleLPUsageInfo().
|
protected |
Definition at line 51 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 52 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 53 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 47 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfProgressGUI\__initUser().
|
protected |
Definition at line 58 of file class.ilLearningProgressBaseGUI.php.
Referenced by getUserId().
|
protected |
Definition at line 80 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs().
|
protected |
Definition at line 71 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs().
|
protected |
Definition at line 76 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 79 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 78 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 77 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 72 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 70 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs().
|
protected |
Definition at line 75 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs().
|
protected |
Definition at line 74 of file class.ilLearningProgressBaseGUI.php.
| const ilLearningProgressBaseGUI::LP_CONTEXT_ADMINISTRATION = 2 |
Definition at line 65 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjUserTrackingGUI\executeCommand().
| const ilLearningProgressBaseGUI::LP_CONTEXT_ORG_UNIT = 5 |
Definition at line 68 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilObjOrgUnitGUI\executeCommand(), ilLPProgressTableGUI\getItems(), and ilLPListOfProgressGUI\show().
| const ilLearningProgressBaseGUI::LP_CONTEXT_PERSONAL_DESKTOP = 1 |
Definition at line 64 of file class.ilLearningProgressBaseGUI.php.
Referenced by __buildFooter(), ilLearningProgressGUI\__getNextClass(), and __setSubTabs().
| const ilLearningProgressBaseGUI::LP_CONTEXT_REPOSITORY = 3 |
Definition at line 66 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilObjCourseGUI\executeCommand(), ilObjCourseReferenceGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilLMPresentationGUI\executeCommand(), ilObjLTIToolGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilSAHSPresentationGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjLearningSequenceGUI\getGUILearningProgress(), ilLPListOfObjectsGUI\show(), and ilLPListOfProgressGUI\show().
| const ilLearningProgressBaseGUI::LP_CONTEXT_USER_FOLDER = 4 |
Definition at line 67 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilObjUserGUI\executeCommand(), and ilLPListOfProgressGUI\show().