|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
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) | |
| 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) |
| 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 | |
| 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 |
| 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 |
||
| ) |
Definition at line 81 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(), 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 399 of file class.ilLearningProgressBaseGUI.php.
References $comment, ilLearningProgress\_getProgress(), _getStatusText(), ilLPMarks\_hasCompleted(), ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilLPStatus\_lookupPercentage(), ilLPStatus\_lookupStatus(), ilObject\_lookupTitle(), ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilDatePresentation\formatDate(), ilLegacyFormElementsUtil\formSelect(), ilLPStatusIcons\getInstance(), ilObjectLP\getInstance(), ilLPStatusIcons\ICON_VARIANT_LONG, IL_CAL_UNIX, ILIAS\Repository\int(), ilObjectLP\isSupportedObjectType(), ILIAS\Repository\lng(), ilLPObjSettings\LP_MODE_CMIX_COMPL_OR_PASSED_WITH_FAILED, ilLPObjSettings\LP_MODE_CMIX_COMPL_WITH_FAILED, ilLPObjSettings\LP_MODE_CMIX_COMPLETED, ilLPObjSettings\LP_MODE_CMIX_COMPLETED_OR_PASSED, ilLPObjSettings\LP_MODE_CMIX_PASSED, ilLPObjSettings\LP_MODE_CMIX_PASSED_WITH_FAILED, ilLPObjSettings\LP_MODE_LTI_OUTCOME, ilLPObjSettings\LP_MODE_MANUAL, ilLPObjSettings\LP_MODE_SCORM, ilLPObjSettings\LP_MODE_TEST_PASSED, ilLPObjSettings\LP_MODE_TLT, ilLPObjSettings\LP_MODE_VISITS, ilDatePresentation\secondsToString(), and ilObjectLP\supportsMark().
Referenced by ilLPListOfProgressGUI\details().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__buildFooter | ( | ) |
Definition at line 302 of file class.ilLearningProgressBaseGUI.php.
References getMode().
Referenced by ilLearningProgressGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__buildHeader | ( | ) |
Definition at line 310 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\executeCommand().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__getDefaultCommand | ( | ) |
Definition at line 164 of file class.ilLearningProgressBaseGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilLPListOfSettingsGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), and ilLPObjectStatisticsGUI\executeCommand().
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 553 of file class.ilLearningProgressBaseGUI.php.
References ilGlobalTemplateInterface\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 ilGlobalTemplateInterface\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 |
PhpInconsistentReturnPointsInspection
Definition at line 533 of file class.ilLearningProgressBaseGUI.php.
References 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 172 of file class.ilLearningProgressBaseGUI.php.
References ilObjUserTracking\_enabledUserRelatedData(), ilObjUserTracking\_hasLearningProgressLearner(), ilLearningProgressAccess\checkPermission(), ILIAS\Repository\ctrl(), ilObjectLP\getInstance(), getMode(), getRefId(), getUserId(), isAnonymized(), and ilObjectLP\supportsMatrixView().
Referenced by ilLearningProgressGUI\executeCommand().
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 663 of file class.ilLearningProgressBaseGUI.php.
References ilObject\_lookupObjId(), ILIAS\Repository\ctrl(), and initEditUserForm().
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 349 of file class.ilLearningProgressBaseGUI.php.
References ilLPObjSettings\_lookupVisits(), ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilObjectLP\getInstance(), ILIAS\Repository\lng(), ilLPObjSettings\LP_MODE_VISITS, readTypicalLearningTimeInSeconds(), and ilDatePresentation\secondsToString().
Referenced by ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\details(), ilLPListOfObjectsGUI\editUser(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__updateUser | ( | int | $user_id, |
| int | $obj_id | ||
| ) |
Definition at line 681 of file class.ilLearningProgressBaseGUI.php.
References ilLPStatusWrapper\_updateStatus(), and initEditUserForm().
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 318 of file class.ilLearningProgressBaseGUI.php.
References $DIC, $lng, 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 __appendLPDetails(), ilTrSummaryTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderExcel(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilLPProgressTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilTrMatrixTableGUI\fillRowExcel(), ilCourseMailTemplateTutorContext\getCachedPeriodByObjId(), ilScormMailTemplateLPContext\getDescription(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLPObjectStatisticsLPTableGUI\getGraph(), ilMyStaffGUI\getUserLpStatusAsHtml(), ilMyStaffGUI\getUserLpStatusAsText(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilSCORMTrackingItemsTableGUI\parseValue(), ilSCORM2004TrackingItemsTableGUI\parseValue(), and ilLPStatusIcons\renderIconForStatus().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::getMode | ( | ) |
Definition at line 127 of file class.ilLearningProgressBaseGUI.php.
References $mode.
Referenced by __buildFooter(), ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfProgressGUI\details(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\show(), and ilLPListOfObjectsGUI\show().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::getObjId | ( | ) |
Definition at line 137 of file class.ilLearningProgressBaseGUI.php.
References $obj_id.
Referenced by ilLPListOfSettingsGUI\__construct(), ilLPListOfSettingsGUI\assign(), ilLPListOfSettingsGUI\deassign(), ilLPListOfSettingsGUI\groupMaterials(), ilLearningProgressGUI\initCollectionManualForm(), ilLPListOfSettingsGUI\releaseMaterials(), ilLPListOfSettingsGUI\saveObligatoryMaterials(), ilLearningProgressGUI\showtlt(), ilLearningProgressGUI\updateManual(), and ilLPListOfSettingsGUI\updateTLT().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::getRefId | ( | ) |
Definition at line 132 of file class.ilLearningProgressBaseGUI.php.
References $ref_id.
Referenced by ilLPListOfObjectsGUI\__construct(), ilLearningProgressGUI\__getNextClass(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), __setSubTabs(), ilLPListOfProgressGUI\details(), ilLearningProgressGUI\editManual(), ilLearningProgressGUI\executeCommand(), ilLPListOfSettingsGUI\getTableByMode(), ilLearningProgressGUI\initCollectionManualForm(), ilLPListOfProgressGUI\show(), ilLPListOfObjectsGUI\show(), ilLPListOfObjectsGUI\showObjectSummary(), ilLearningProgressGUI\showtlt(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLearningProgressGUI\updateManual().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::getUserId | ( | ) |
Definition at line 153 of file class.ilLearningProgressBaseGUI.php.
References $usr_id, and initUserIdFromQuery().
Referenced by __setSubTabs(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), and ilLPListOfProgressGUI\show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 604 of file class.ilLearningProgressBaseGUI.php.
References ilLPStatus\_lookupStatus(), ilObject\_lookupTitle(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ilObjectLP\getInstance(), ilUserUtil\getNamePresentation(), ILIAS\Repository\lng(), ilLPObjSettings\LP_MODE_MANUAL, ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ilLPStatus\LP_STATUS_COMPLETED_NUM, and ilObjectLP\supportsMark().
Referenced by __showEditUser(), and __updateUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 142 of file class.ilLearningProgressBaseGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilLPListOfObjectsGUI\editUser(), ilLPListOfObjectsGUI\executeCommand(), getUserId(), 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 122 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 715 of file class.ilLearningProgressBaseGUI.php.
References $DIC.
Referenced by ilLPProgressTableGUI\getItems(), and ilTrSummaryTableGUI\getItems().
Here is the caller graph for this function:
|
protected |
Definition at line 387 of file class.ilLearningProgressBaseGUI.php.
Referenced by __showObjectDetails().
Here is the caller graph for this function:
|
protected |
Definition at line 48 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 56 of file class.ilLearningProgressBaseGUI.php.
Referenced by isAnonymized().
|
protected |
Definition at line 41 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 61 of file class.ilLearningProgressBaseGUI.php.
Referenced by getMode().
|
protected |
Definition at line 59 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfProgressGUI\details(), and getObjId().
|
protected |
Definition at line 60 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 58 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 57 of file class.ilLearningProgressBaseGUI.php.
Referenced by getUserId().
|
protected |
Definition at line 79 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 70 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 75 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 76 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 71 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 69 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 74 of file class.ilLearningProgressBaseGUI.php.
|
protected |
Definition at line 73 of file class.ilLearningProgressBaseGUI.php.
| const ilLearningProgressBaseGUI::LP_CONTEXT_ADMINISTRATION = 2 |
Definition at line 64 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjUserTrackingGUI\executeCommand().
| const ilLearningProgressBaseGUI::LP_CONTEXT_ORG_UNIT = 5 |
Definition at line 67 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjOrgUnitGUI\executeCommand(), and ilLPProgressTableGUI\getItems().
| const ilLearningProgressBaseGUI::LP_CONTEXT_PERSONAL_DESKTOP = 1 |
Definition at line 63 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilAchievementsGUI\executeCommand().
| const ilLearningProgressBaseGUI::LP_CONTEXT_REPOSITORY = 3 |
Definition at line 65 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjExerciseGUI\__construct(), ilObjCmiXapiGUI\_goto(), ilObjLTIConsumerGUI\_goto(), ilObjContentObjectGUI\checkCtrlPath(), ilObjCourseReferenceGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilSAHSPresentationGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilLMPresentationGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjLearningSequenceGUI\getGUILearningProgress(), ilObjFileGUI\getParentId(), ilObjForumGUI\getSafePostCommands(), and ilObjContentPageGUI\setTabs().
| const ilLearningProgressBaseGUI::LP_CONTEXT_USER_FOLDER = 4 |
Definition at line 66 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjUserGUI\executeCommand().