|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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) |
| @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 | |
| 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 |
||
| ) |
Reimplemented in ilLPListOfProgressGUI.
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(), 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 399 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfProgressGUI\details().
Here is the caller graph for this function:| ilLearningProgressBaseGUI::__buildFooter | ( | ) |
Definition at line 302 of file class.ilLearningProgressBaseGUI.php.
References getMode(), and LP_CONTEXT_PERSONAL_DESKTOP.
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 ilLPObjectStatisticsGUI\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), and ilLPListOfSettingsGUI\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 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 533 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 172 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\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().
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.
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 681 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 318 of file class.ilLearningProgressBaseGUI.php.
References $lng.
Referenced by ilTrSummaryTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderExcel(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), 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:| 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(), ilLPListOfObjectsGUI\show(), and ilLPListOfProgressGUI\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(), ilLPListOfSettingsGUI\saveSettings(), 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(), ilLPListOfObjectsGUI\__initDetails(), ilLPListOfProgressGUI\__initDetails(), __setSubTabs(), ilLPListOfProgressGUI\details(), ilLearningProgressGUI\editManual(), ilLearningProgressGUI\executeCommand(), ilLPListOfSettingsGUI\getTableByMode(), 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 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.
|
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.
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.
|
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(), and ilLPListOfSettingsGUI\initFormSettings().
|
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.
Referenced by __setSubTabs().
|
protected |
Definition at line 70 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs().
|
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.
Referenced by __setSubTabs().
|
protected |
Definition at line 74 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs().
|
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 ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilObjOrgUnitGUI\executeCommand(), ilLPProgressTableGUI\getItems(), and ilLPListOfProgressGUI\show().
| const ilLearningProgressBaseGUI::LP_CONTEXT_PERSONAL_DESKTOP = 1 |
Definition at line 63 of file class.ilLearningProgressBaseGUI.php.
Referenced by __buildFooter(), ilLearningProgressGUI\__getNextClass(), and __setSubTabs().
| const ilLearningProgressBaseGUI::LP_CONTEXT_REPOSITORY = 3 |
Definition at line 65 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilObjCourseGUI\executeCommand(), ilObjCourseReferenceGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilLMPresentationGUI\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 66 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilObjUserGUI\executeCommand(), and ilLPListOfProgressGUI\show().