ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 |
|
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 485 of file class.ilObjectLP.php.
References $DIC, $obj_id, $path, $tree, $type, ilObject\_lookupObjId(), and ilObject\_lookupType().
|
protected |
Definition at line 340 of file class.ilObjectLP.php.
References ilLPMarks\_getAllUserIds(), and ilChangeEvent\_getAllUserIds().
Referenced by resetLPDataForCompleteObject().
ilObjectLP::getCollectionInstance | ( | ) |
Definition at line 256 of file class.ilObjectLP.php.
References $collection_instance, getCurrentMode(), and ilLPCollection\getInstanceByMode().
Referenced by handleDelete().
ilObjectLP::getCurrentMode | ( | ) |
Definition at line 198 of file class.ilObjectLP.php.
References $mode, ilObjUserTracking\_enabledLearningProgress(), ilLPObjSettings\_lookupDBMode(), ilObject\_lookupType(), getDefaultMode(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
Referenced by getCollectionInstance(), and isActive().
ilObjectLP::getDefaultMode | ( | ) |
Definition at line 188 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 |
Definition at line 678 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, and ilObject\_lookupType().
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrSummaryTableGUI\__construct(), ilLPTableBaseGUI\__construct(), ilLPProgressTableGUI\__construct(), ilLPListOfSettingsGUI\__construct(), ilScormPlaceholderDescription\__construct(), ilLearningProgressBaseGUI\__construct(), ilCertificateSettingsCourseFormRepository\__construct(), ilLPObjSettings\__construct(), ilLearningProgressGUI\__getNextClass(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__setSubTabs(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusFactory\_getClassById(), ilLPStatusCollection\_getCompleted(), ilLPStatusCollection\_getFailed(), ilLPStatusCollection\_getInProgress(), ilLPStatusFactory\_getInstance(), ilLPStatusSCORM\_getNotAttempted(), ilLPStatusCollectionTLT\_getStatusInfo(), ilLPStatusCollectionManual\_getStatusInfo(), ilLPStatusSCORM\_getStatusInfo(), ilLPStatusCollection\_getStatusInfo(), ilLPStatusCollectionManual\_setObjectStatus(), ilTimingCache\_showWarning(), ilConditionHandlerGUI\assign(), ilContentPageKioskModeView\builtLearningProgressToggleControl(), ilLearningProgressAccess\checkAccess(), ilLMExplorerGUI\checkLPIcon(), ilLPStatus\checkLPModesForObjects(), ilContainer\cloneDependencies(), ilObjSurvey\deleteAllUserData(), ilLPStatusSCORM\determinePercentage(), ilLPStatusSCORM\determineStatus(), ilLPStatusCollection\determineStatus(), ilLearningProgressGUI\editManual(), ilLPProgressTableGUI\fillRow(), ilLPCronObjectStatistics\gatherCourseLPData(), ilSCORMCertificateAdapter\getCertificateVariablesDescription(), ilSCORMCertificateAdapter\getCertificateVariablesForPresentation(), ilSCORMCertificateAdapter\getCertificateVariablesForPreview(), ilLPStatusCollectionMobs\getCollectionItems(), ilScormMailTemplateLPContext\getDescription(), ilCertificateObjectLPHelper\getInstance(), ilTrSummaryTableGUI\getItems(), ilLPListOfSettingsGUI\getLPPathInfo(), ilTrQuery\getObjectIds(), ilTrQuery\getObjectsStatusForUser(), ilTimingsUser\getObjectsWithInactiveLP(), ilCourseMembershipGUI\getPrintMemberData(), ilLPTableBaseGUI\getSelectableUserColumns(), ilObjSCORMInitData\getStatus(), ilTrQuery\getSubItemsStatusForUser(), ilTrQuery\getSubTree(), ilTrackingAppEventListener\handleEvent(), ilCourseAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilLearningProgressGUI\initCollectionManualForm(), ilCourseLPBadgeGUI\initConfigForm(), ilObjCourseGUI\initEditForm(), ilLearningProgressBaseGUI\initEditUserForm(), ilTrUserObjectsPropsTableGUI\initFilter(), ilConditionHandlerGUI\initFormCondition(), ilGroupMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilLPStatusPlugin\initPluginObj(), ilIndividualAssessmentLPInterface\isActiveLP(), ilLPTableBaseGUI\isPercentageAvailable(), ilMembershipGUI\jump2UsersGallery(), ilSCORMTrackingItems\markedLearningStatusForExportSelected(), ilLMObject\MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilLPCollectionOfRepositoryObjects\parseTableGUIItem(), ilLPTableBaseGUI\parseTitle(), ilObjSAHSLearningModule\populateByDirectoy(), ilLearningSequenceRoles\readMemberData(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilTimingCache\readObjectInformation(), ilObjSurvey\removeSelectedSurveyResults(), ilObjTest\removeTestResults(), ilCourseObjectiveResult\resetTestForUser(), ilObjMediaCast\saveOrder(), ilLPListOfProgressGUI\saveProgress(), ilLPTableBaseGUI\searchFilterListener(), ilLPTableBaseGUI\sendMail(), ilObjContentObjectGUI\setilLMMenu(), ilInfoScreenGUI\showLearningProgress(), ilLearningProgressGUI\showtlt(), ilContentPageKioskModeView\toggleLearningProgress(), ilSCORMOfflineMode\tracking2sop(), 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 541 of file class.ilObjectLP.php.
References $DIC, $ilDB, $obj_id, $query, $res, $row, $tree, and $type.
Referenced by ilLPProgressTableGUI\getItems(), and ilLPStatus\validateLPForObjects().
ilObjectLP::getMailTemplateId | ( | ) |
Definition at line 645 of file class.ilObjectLP.php.
ilObjectLP::getMembers | ( | $a_search = true | ) |
Definition at line 271 of file class.ilObjectLP.php.
References $path, $tree, ilObject\_getAllReferences(), and ilObject\_lookupObjId().
ilObjectLP::getModeInfoText | ( | $a_mode | ) |
Definition at line 241 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2InfoText().
ilObjectLP::getModeText | ( | $a_mode | ) |
Definition at line 236 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2Text().
ilObjectLP::getSettingsInfo | ( | ) |
Definition at line 246 of file class.ilObjectLP.php.
|
static |
Definition at line 64 of file class.ilObjectLP.php.
Referenced by ilCourseLPBadgeGUI\getLPTypes(), ilCertificateObjectLPHelper\getTypeClass(), and ilObjUserTrackingGUI\initLPDefaultsForm().
|
static |
Get current type default.
string | $a_type |
Definition at line 720 of file class.ilObjectLP.php.
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
|
staticprotected |
ilObjectLP::getValidModes | ( | ) |
Definition at line 193 of file class.ilObjectLP.php.
|
final |
Definition at line 417 of file class.ilObjectLP.php.
References ilChangeEvent\_delete(), ilLPMarks\deleteObject(), getCollectionInstance(), and updateParentCollections().
|
staticfinal |
Definition at line 356 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 412 of file class.ilObjectLP.php.
References updateParentCollections().
ilObjectLP::isActive | ( | ) |
Definition at line 224 of file class.ilObjectLP.php.
References $mode, getCurrentMode(), ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_UNDEFINED.
ilObjectLP::isAnonymized | ( | ) |
Definition at line 177 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 |
Definition at line 469 of file class.ilObjectLP.php.
|
static |
Definition at line 150 of file class.ilObjectLP.php.
References $a_type, $DIC, $valid, and ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by ilCtrl\checkLPSettingsForward(), ilConditionHandler\enableAutomaticValidation(), ilSkillLevelResourcesTableGUI\fillRow(), ilLPListOfSettingsGUI\getLPPathInfo(), ilCourseLPBadgeGUI\getLPTypes(), ilTimingsUser\getObjectsWithInactiveLP(), ilConditionHandler\getOperatorsByTriggerType(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilCertificateObjectLPHelper\isSupportedObjectType(), and ilObjUserTrackingGUI\saveLPDefaultsObject().
ilObjectLP::resetCaches | ( | ) |
Definition at line 171 of file class.ilObjectLP.php.
|
protected |
Definition at line 335 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
|
final |
Definition at line 299 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
|
final |
Definition at line 307 of file class.ilObjectLP.php.
References ilLPMarks\_deleteForUsers(), ilChangeEvent\_deleteReadEventsForUsers(), ilObject\_lookupObjId(), ilLPStatusWrapper\_updateStatus(), and resetCustomLPDataForUserIds().
Referenced by resetLPDataForCompleteObject().
|
static |
Definition at line 699 of file class.ilObjectLP.php.
References $DIC, $ilDB, $mode, and $type.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
|
static |
Definition at line 660 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilLearningProgressBaseGUI\initEditUserForm(), ilTrSummaryTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
|
static |
Definition at line 665 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
|
static |
Definition at line 655 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrSummaryTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
|
finalprotected |
Definition at line 433 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.