ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 | getSupportedObjectTypes () |
static | isSupportedObjectType ($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 523 of file class.ilObjectLP.php.
References $DIC, $obj_id, $tree, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), and getTypeClass().
Referenced by getLPMemberships().
|
protected |
Definition at line 378 of file class.ilObjectLP.php.
References ilChangeEvent\_getAllUserIds(), and ilLPMarks\_getAllUserIds().
Referenced by resetLPDataForCompleteObject().
ilObjectLP::getCollectionInstance | ( | ) |
Definition at line 294 of file class.ilObjectLP.php.
References $collection_instance, getCurrentMode(), and ilLPCollection\getInstanceByMode().
Referenced by handleDelete().
ilObjectLP::getCurrentMode | ( | ) |
Reimplemented in ilCourseLP, ilScormLP, and ilPluginLP.
Definition at line 236 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().
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 226 of file class.ilObjectLP.php.
References ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by getCurrentMode().
|
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 716 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(), ilObjMediaCast\addMobToCast(), ilConditionHandlerGUI\assign(), ilContentPageKioskModeView\buildLearningProgressToggleControl(), 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(), ilLearningModuleKioskModeView\maybeBuildLearningProgressToggleControl(), ilLMObject\MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilLPCollectionOfRepositoryObjects\parseTableGUIItem(), ilLPTableBaseGUI\parseTitle(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\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(), ilLearningModuleKioskModeView\toggleLearningProgress(), ilSCORMOfflineMode\tracking2sop(), ilObjContentPage\trackProgress(), ilConditionHandlerGUI\updateCondition(), ilObjCourseGUI\updateLPFromStatus(), ilLearningProgressGUI\updateManual(), ilLPCollectionOfRepositoryObjects\validateEntry(), and ilCourseLPBadgeGUI\validateForm().
|
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 579 of file class.ilObjectLP.php.
References $DIC, $ilDB, $obj_id, $query, $res, $tree, $type, findMembershipsByPath(), getTypeClass(), and ROOT_FOLDER_ID.
Referenced by ilLPProgressTableGUI\getItems(), and ilLPStatus\validateLPForObjects().
ilObjectLP::getMailTemplateId | ( | ) |
Reimplemented in ilCourseLP, and ilScormLP.
Definition at line 683 of file class.ilObjectLP.php.
ilObjectLP::getMembers | ( | $a_search = true | ) |
Reimplemented in ilCourseLP, ilCourseReferenceLP, ilGroupLP, ilIndividualAssessmentLP, and ilStudyProgrammeLP.
Definition at line 309 of file class.ilObjectLP.php.
References $tree, ilObject\_getAllReferences(), ilObject\_lookupObjId(), and getInstance().
ilObjectLP::getModeInfoText | ( | $a_mode | ) |
Definition at line 279 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2InfoText().
ilObjectLP::getModeText | ( | $a_mode | ) |
Definition at line 274 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2Text().
ilObjectLP::getSettingsInfo | ( | ) |
Reimplemented in ilCourseLP.
Definition at line 284 of file class.ilObjectLP.php.
|
static |
Definition at line 159 of file class.ilObjectLP.php.
References $DIC, XapiProxy\$plugin, $type, $valid, IL_COMP_SERVICE, and ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by ilPersonalSkillsGUI\getActualLevels(), and isSupportedObjectType().
|
static |
Definition at line 64 of file class.ilObjectLP.php.
References $DIC.
Referenced by findMembershipsByPath(), getInstance(), getLPMemberships(), ilCourseLPBadgeGUI\getLPTypes(), ilCertificateObjectLPHelper\getTypeClass(), getTypeDefault(), and ilObjUserTrackingGUI\initLPDefaultsForm().
|
static |
Get current type default.
string | $a_type |
Definition at line 758 of file class.ilObjectLP.php.
References $db, getTypeClass(), and getTypeDefaultFromDB().
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
|
staticprotected |
Definition at line 721 of file class.ilObjectLP.php.
Referenced by getCurrentMode(), and getTypeDefault().
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 231 of file class.ilObjectLP.php.
|
final |
Definition at line 455 of file class.ilObjectLP.php.
References ilChangeEvent\_delete(), ilLPMarks\deleteObject(), getCollectionInstance(), and updateParentCollections().
|
staticfinal |
Definition at line 394 of file class.ilObjectLP.php.
References $DIC, $ilDB, $query, $tree, ilObject\_getAllReferences(), ilObject\_lookupType(), and ilLPStatusWrapper\_refreshStatus().
Referenced by ilTrackingAppEventListener\handleEvent().
|
final |
Definition at line 450 of file class.ilObjectLP.php.
References updateParentCollections().
ilObjectLP::isActive | ( | ) |
Definition at line 262 of file class.ilObjectLP.php.
References $mode, getCurrentMode(), ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_UNDEFINED.
ilObjectLP::isAnonymized | ( | ) |
Reimplemented in ilSurveyLP, and ilTestLP.
Definition at line 215 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 507 of file class.ilObjectLP.php.
|
static |
Definition at line 198 of file class.ilObjectLP.php.
References $type, $valid, and getSupportedObjectTypes().
Referenced by ilCtrl\checkLPSettingsForward(), ilSkillLevelResourcesTableGUI\fillRow(), ilLearnerProgressDB\getLearningProgressFor(), ilLPListOfSettingsGUI\getLPPathInfo(), ilCourseLPBadgeGUI\getLPTypes(), ilTimingsUser\getObjectsWithInactiveLP(), ilConditionHandler\getOperatorsByTriggerType(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilCertificateObjectLPHelper\isSupportedObjectType(), and ilObjUserTrackingGUI\saveLPDefaultsObject().
ilObjectLP::resetCaches | ( | ) |
Definition at line 209 of file class.ilObjectLP.php.
|
protected |
Reimplemented in ilTestLP.
Definition at line 373 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
|
final |
Definition at line 337 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
|
final |
Definition at line 345 of file class.ilObjectLP.php.
References ilLPMarks\_deleteForUsers(), ilChangeEvent\_deleteReadEventsForUsers(), ilObject\_lookupObjId(), ilLPStatusWrapper\_updateStatus(), getInstance(), and resetCustomLPDataForUserIds().
Referenced by resetLPDataForCompleteObject().
|
static |
Definition at line 737 of file class.ilObjectLP.php.
References $DIC, $ilDB, $mode, and $type.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
|
static |
Definition at line 698 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().
|
static |
Definition at line 703 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
|
static |
Definition at line 693 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
|
finalprotected |
Definition at line 471 of file class.ilObjectLP.php.
References $db, $ilDB, $query, ilObject\_lookupType(), and ilLPStatusWrapper\_refreshStatus().
Referenced by handleDelete(), and handleToTrash().
|
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.