|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilObjectLP:
Collaboration diagram for ilObjectLP:Public Member Functions | |
| resetCaches () | |
| isAnonymized () | |
| getDefaultMode () | |
| getValidModes () | |
| getCurrentMode () | |
| isActive () | |
| getModeText ($a_mode) | |
| getModeInfoText ($a_mode) | |
| getSettingsInfo () | |
| getCollectionInstance () | |
| getMembers ($a_search=true) | |
| resetLPDataForCompleteObject ($a_recursive=true) | |
| resetLPDataForUserIds (array $a_user_ids, $a_recursive=true) | |
| handleToTrash () | |
| handleDelete () | |
| getMailTemplateId () | |
Static Public Member Functions | |
| static | getInstance ($a_obj_id) |
| static | getTypeClass ($a_type) |
| static | isSupportedObjectType ($a_type) |
| static | handleMove ($a_source_ref_id) |
| static | getLPMemberships ($a_usr_id, array $a_obj_ids, $a_parent_ref_id=null, $a_mapped_ref_ids=false) |
| Get all objects where given user is member (from LP POV) More... | |
| static | supportsSpentSeconds ($a_obj_type) |
| static | supportsMark ($a_obj_type) |
| static | supportsMatrixView ($a_obj_type) |
| static | getDefaultModes ($a_lp_active) |
| Get available type-specific default modes (no administration needed) More... | |
| static | saveTypeDefaults (array $a_data) |
| static | getTypeDefault ($a_type) |
| Get current type default. More... | |
Protected Member Functions | |
| __construct ($a_obj_id) | |
| resetCustomLPDataForUserIds (array $a_user_ids, $a_recursive=true) | |
| gatherLPUsers () | |
| updateParentCollections () | |
Static Protected Member Functions | |
| static | isLPMember (array &$a_res, $a_usr_id, $a_obj_ids) |
| Find (lp-relevant) members for given object ids. More... | |
| static | findMembershipsByPath (array &$a_res, $a_usr_id, $a_parent_ref_id, array $a_obj_ids, $a_mapped_ref_ids=false) |
| Find (lp-relevant) memberships by path. More... | |
| static | getTypeDefaultFromDB ($a_type) |
Protected Attributes | |
| $tree | |
| $db | |
| $obj_id | |
| $collection_instance | |
| $mode | |
Static Protected Attributes | |
| static | $type_defaults |
Definition at line 14 of file class.ilObjectLP.php.
|
protected |
Reimplemented in ilCourseReferenceLP, and ilPluginLP.
Definition at line 32 of file class.ilObjectLP.php.
References $DIC.
|
staticprotected |
Find (lp-relevant) memberships by path.
| array | $a_res | |
| int | $a_usr_id | |
| int | $a_parent_ref_id | |
| array | $a_obj_ids | |
| bool | $a_mapped_ref_ids |
Definition at line 493 of file class.ilObjectLP.php.
References $DIC, $obj_id, $tree, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), and getTypeClass().
Referenced by getLPMemberships().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 348 of file class.ilObjectLP.php.
References ilChangeEvent\_getAllUserIds(), and ilLPMarks\_getAllUserIds().
Referenced by resetLPDataForCompleteObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectLP::getCollectionInstance | ( | ) |
Definition at line 264 of file class.ilObjectLP.php.
References $collection_instance, getCurrentMode(), and ilLPCollection\getInstanceByMode().
Referenced by handleDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectLP::getCurrentMode | ( | ) |
Reimplemented in ilCourseLP, ilScormLP, and ilPluginLP.
Definition at line 206 of file class.ilObjectLP.php.
References $mode, ilObjUserTracking\_enabledLearningProgress(), ilLPObjSettings\_lookupDBMode(), ilObject\_lookupType(), getDefaultMode(), getTypeDefaultFromDB(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
Referenced by getCollectionInstance(), ilCmiXapiLP\initModeOptions(), and isActive().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectLP::getDefaultMode | ( | ) |
Reimplemented in ilCmiXapiLP, ilContentPageLP, ilCourseLP, ilCourseReferenceLP, ilExerciseLP, ilFileLP, ilFolderLP, ilGroupLP, ilHTMLLearningModuleLP, ilIndividualAssessmentLP, ilLearningModuleLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilStudyProgrammeLP, ilSurveyLP, ilTestLP, and ilPluginLP.
Definition at line 196 of file class.ilObjectLP.php.
References ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by getCurrentMode().
Here is the caller graph for this function:
|
static |
Get available type-specific default modes (no administration needed)
| bool | $a_lp_active |
Reimplemented in ilCmiXapiLP, ilCourseLP, ilCourseReferenceLP, ilExerciseLP, ilFileLP, ilFolderLP, ilGroupLP, ilHTMLLearningModuleLP, ilLearningModuleLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilStudyProgrammeLP, ilSurveyLP, and ilTestLP.
Definition at line 686 of file class.ilObjectLP.php.
References ilLPObjSettings\LP_MODE_UNDEFINED.
|
static |
| int | $a_obj_id |
Definition at line 45 of file class.ilObjectLP.php.
References $type, ilObject\_lookupType(), and getTypeClass().
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilLPListOfSettingsGUI\__construct(), ilLearningProgressBaseGUI\__construct(), ilLPObjSettings\__construct(), ilTrSummaryTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilLPTableBaseGUI\__construct(), ilCertificateSettingsCourseFormRepository\__construct(), ilXapiStatementEvaluation\__construct(), ilScormPlaceholderDescription\__construct(), ilLearningProgressGUI\__getNextClass(), ilLPListOfObjectsGUI\__initDetails(), ilLPListOfProgressGUI\__initDetails(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__setSubTabs(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusFactory\_getClassById(), ilLPStatusCollection\_getCompleted(), ilLPStatusCollection\_getFailed(), ilLPStatusCollection\_getInProgress(), ilLPStatusFactory\_getInstance(), ilLPStatusSCORM\_getNotAttempted(), ilLPStatusCollection\_getStatusInfo(), ilLPStatusCollectionManual\_getStatusInfo(), ilLPStatusSCORM\_getStatusInfo(), ilLPStatusCollectionTLT\_getStatusInfo(), ilLPStatusCollectionManual\_setObjectStatus(), ilTimingCache\_showWarning(), ilConditionHandlerGUI\assign(), ilContentPageKioskModeView\builtLearningProgressToggleControl(), ilLearningProgressAccess\checkAccess(), ilLMExplorerGUI\checkLPIcon(), ilLPStatus\checkLPModesForObjects(), ilContainer\cloneDependencies(), ilObjSurvey\deleteAllUserData(), ilLPStatusSCORM\determinePercentage(), ilLPStatusCollection\determineStatus(), ilLPStatusSCORM\determineStatus(), ilLearningProgressGUI\editManual(), ilLPProgressTableGUI\fillRow(), ilLPCronObjectStatistics\gatherCourseLPData(), ilLPStatusCollectionMobs\getCollectionItems(), ilCertificateObjectLPHelper\getInstance(), ilTrSummaryTableGUI\getItems(), ilObjCmiXapi\getLPMode(), ilLPListOfSettingsGUI\getLPPathInfo(), getMembers(), ilTrQuery\getObjectIds(), ilTrQuery\getObjectsStatusForUser(), ilTimingsUser\getObjectsWithInactiveLP(), ilTrQuery\getParticipantsForObject(), ilCourseMembershipGUI\getPrintMemberData(), ilLPTableBaseGUI\getSelectableUserColumns(), ilObjSCORMInitData\getStatus(), ilTrQuery\getSubItemsStatusForUser(), ilTrQuery\getSubTree(), ilCourseAppEventListener\handleEvent(), ilTrackingAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilLearningProgressGUI\initCollectionManualForm(), ilCourseLPBadgeGUI\initConfigForm(), ilObjCourseGUI\initEditForm(), ilLearningProgressBaseGUI\initEditUserForm(), ilTrUserObjectsPropsTableGUI\initFilter(), ilConditionHandlerGUI\initFormCondition(), ilCourseMembershipGUI\initParticipantTableGUI(), ilGroupMembershipGUI\initParticipantTableGUI(), ilLPStatusPlugin\initPluginObj(), ilIndividualAssessmentLPInterface\isActiveLP(), ilLPTableBaseGUI\isPercentageAvailable(), ilSCORMTrackingItems\markedLearningStatusForExportSelected(), ilLMObject\MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilLPCollectionOfRepositoryObjects\parseTableGUIItem(), ilLPTableBaseGUI\parseTitle(), ilObjCourseGUI\readMemberData(), ilObjGroupGUI\readMemberData(), ilLearningSequenceRoles\readMemberData(), ilTimingCache\readObjectInformation(), ilObjSurvey\removeSelectedSurveyResults(), ilObjTest\removeTestResults(), ilLMMenuRendererGUI\render(), resetLPDataForUserIds(), ilCourseObjectiveResult\resetTestForUser(), ilLPTableBaseGUI\searchFilterListener(), ilLPTableBaseGUI\sendMail(), ilObjContentObjectGUI\setilLMMenu(), ilInfoScreenGUI\showLearningProgress(), ilLearningProgressGUI\showtlt(), ilContentPageKioskModeView\toggleLearningProgress(), ilSCORMOfflineMode\tracking2sop(), ilObjContentPage\trackProgress(), ilConditionHandlerGUI\updateCondition(), ilObjCourseGUI\updateLPFromStatus(), ilLearningProgressGUI\updateManual(), ilLPCollectionOfRepositoryObjects\validateEntry(), and ilCourseLPBadgeGUI\validateForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all objects where given user is member (from LP POV)
| int | $a_usr_id | |
| array | $a_obj_ids | |
| int | $a_parent_ref_id | |
| bool | $a_mapped_ref_ids |
Definition at line 549 of file class.ilObjectLP.php.
References $DIC, $ilDB, $obj_id, $query, $res, $tree, $type, findMembershipsByPath(), and getTypeClass().
Referenced by ilLPProgressTableGUI\getItems(), and ilLPStatus\validateLPForObjects().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectLP::getMailTemplateId | ( | ) |
Reimplemented in ilCourseLP, and ilScormLP.
Definition at line 653 of file class.ilObjectLP.php.
| ilObjectLP::getMembers | ( | $a_search = true | ) |
Reimplemented in ilCourseLP, ilCourseReferenceLP, ilGroupLP, ilIndividualAssessmentLP, and ilStudyProgrammeLP.
Definition at line 279 of file class.ilObjectLP.php.
References $tree, ilObject\_getAllReferences(), ilObject\_lookupObjId(), and getInstance().
Here is the call graph for this function:| ilObjectLP::getModeInfoText | ( | $a_mode | ) |
Definition at line 249 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2InfoText().
Here is the call graph for this function:| ilObjectLP::getModeText | ( | $a_mode | ) |
Definition at line 244 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2Text().
Here is the call graph for this function:| ilObjectLP::getSettingsInfo | ( | ) |
Reimplemented in ilCourseLP.
Definition at line 254 of file class.ilObjectLP.php.
|
static |
Definition at line 64 of file class.ilObjectLP.php.
Referenced by findMembershipsByPath(), getInstance(), getLPMemberships(), ilCourseLPBadgeGUI\getLPTypes(), ilCertificateObjectLPHelper\getTypeClass(), getTypeDefault(), and ilObjUserTrackingGUI\initLPDefaultsForm().
Here is the caller graph for this function:
|
static |
Get current type default.
| string | $a_type |
Definition at line 728 of file class.ilObjectLP.php.
References $a_type, $db, getTypeClass(), and getTypeDefaultFromDB().
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 691 of file class.ilObjectLP.php.
References $a_type, $DIC, and $ilDB.
Referenced by getCurrentMode(), and getTypeDefault().
Here is the caller graph for this function:| ilObjectLP::getValidModes | ( | ) |
Reimplemented in ilCmiXapiLP, ilContentPageLP, ilCourseLP, ilCourseReferenceLP, ilExerciseLP, ilFileLP, ilFolderLP, ilGroupLP, ilHTMLLearningModuleLP, ilIndividualAssessmentLP, ilLearningModuleLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilStudyProgrammeLP, ilSurveyLP, ilTestLP, and ilPluginLP.
Definition at line 201 of file class.ilObjectLP.php.
|
final |
Definition at line 425 of file class.ilObjectLP.php.
References ilChangeEvent\_delete(), ilLPMarks\deleteObject(), getCollectionInstance(), and updateParentCollections().
Here is the call graph for this function:
|
staticfinal |
Definition at line 364 of file class.ilObjectLP.php.
References $DIC, $ilDB, $query, $tree, ilObject\_getAllReferences(), ilObject\_lookupType(), and ilLPStatusWrapper\_refreshStatus().
Referenced by ilTrackingAppEventListener\handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 420 of file class.ilObjectLP.php.
References updateParentCollections().
Here is the call graph for this function:| ilObjectLP::isActive | ( | ) |
Definition at line 232 of file class.ilObjectLP.php.
References $mode, getCurrentMode(), ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_UNDEFINED.
Here is the call graph for this function:| ilObjectLP::isAnonymized | ( | ) |
Reimplemented in ilSurveyLP, and ilTestLP.
Definition at line 185 of file class.ilObjectLP.php.
|
staticprotected |
Find (lp-relevant) members for given object ids.
| array | $a_res | |
| int | $a_usr_id | |
| array | $a_obj_ids |
Reimplemented in ilCourseLP, ilExerciseLP, ilGroupLP, ilScormLP, ilSurveyLP, ilTestLP, and ilPluginLP.
Definition at line 477 of file class.ilObjectLP.php.
|
static |
Definition at line 158 of file class.ilObjectLP.php.
References $a_type, $DIC, $valid, and ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by ilCtrl\checkLPSettingsForward(), ilSkillLevelResourcesTableGUI\fillRow(), ilLearnerProgressDB\getLearningProgressFor(), ilLPListOfSettingsGUI\getLPPathInfo(), ilCourseLPBadgeGUI\getLPTypes(), ilTimingsUser\getObjectsWithInactiveLP(), ilConditionHandler\getOperatorsByTriggerType(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilCertificateObjectLPHelper\isSupportedObjectType(), and ilObjUserTrackingGUI\saveLPDefaultsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectLP::resetCaches | ( | ) |
Definition at line 179 of file class.ilObjectLP.php.
|
protected |
Reimplemented in ilTestLP.
Definition at line 343 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
Here is the caller graph for this function:
|
final |
Definition at line 307 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
Here is the call graph for this function:
|
final |
Definition at line 315 of file class.ilObjectLP.php.
References ilLPMarks\_deleteForUsers(), ilChangeEvent\_deleteReadEventsForUsers(), ilObject\_lookupObjId(), ilLPStatusWrapper\_updateStatus(), getInstance(), and resetCustomLPDataForUserIds().
Referenced by resetLPDataForCompleteObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 707 of file class.ilObjectLP.php.
References $DIC, $ilDB, $mode, and $type.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
Here is the caller graph for this function:
|
static |
Definition at line 668 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilLearningProgressBaseGUI\initEditUserForm(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
Here is the caller graph for this function:
|
static |
Definition at line 673 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
Here is the caller graph for this function:
|
static |
Definition at line 663 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
Here is the caller graph for this function:
|
finalprotected |
Definition at line 441 of file class.ilObjectLP.php.
References $db, $ilDB, $query, ilObject\_lookupType(), and ilLPStatusWrapper\_refreshStatus().
Referenced by handleDelete(), and handleToTrash().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilObjectLP.php.
Referenced by getCollectionInstance().
|
protected |
Definition at line 24 of file class.ilObjectLP.php.
Referenced by getTypeDefault(), and updateParentCollections().
|
protected |
Definition at line 28 of file class.ilObjectLP.php.
Referenced by getCurrentMode(), isActive(), and saveTypeDefaults().
|
protected |
Definition at line 26 of file class.ilObjectLP.php.
Referenced by findMembershipsByPath(), and getLPMemberships().
|
protected |
Definition at line 19 of file class.ilObjectLP.php.
Referenced by findMembershipsByPath(), getLPMemberships(), getMembers(), and handleMove().
|
staticprotected |
Definition at line 30 of file class.ilObjectLP.php.