ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 474 of file class.ilObjectLP.php.
References $DIC, $obj_id, $path, $tree, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), and array.
|
protected |
Definition at line 329 of file class.ilObjectLP.php.
References ilLPMarks\_getAllUserIds(), and ilChangeEvent\_getAllUserIds().
Referenced by resetLPDataForCompleteObject().
ilObjectLP::getCollectionInstance | ( | ) |
Definition at line 245 of file class.ilObjectLP.php.
References $collection_instance, getCurrentMode(), and ilLPCollection\getInstanceByMode().
Referenced by handleDelete().
ilObjectLP::getCurrentMode | ( | ) |
Definition at line 187 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 177 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 667 of file class.ilObjectLP.php.
References array, and ilLPObjSettings\LP_MODE_UNDEFINED.
|
static |
Definition at line 41 of file class.ilObjectLP.php.
References $type, ilObject\_lookupType(), and array.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrSummaryTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilLPTableBaseGUI\__construct(), ilLPListOfSettingsGUI\__construct(), ilLearningProgressBaseGUI\__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(), 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(), ilTrSummaryTableGUI\getItems(), ilLPListOfSettingsGUI\getLPPathInfo(), ilTrQuery\getObjectIds(), ilTrQuery\getObjectsStatusForUser(), ilCourseMembershipGUI\getPrintMemberData(), ilLPTableBaseGUI\getSelectableUserColumns(), ilObjSCORMInitData\getStatus(), ilTrQuery\getSubItemsStatusForUser(), ilTrQuery\getSubTree(), ilTrackingAppEventListener\handleEvent(), ilCourseAppEventListener\handleEvent(), 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(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilTimingCache\readObjectInformation(), ilObjSurvey\removeSelectedSurveyResults(), ilObjTest\removeTestResults(), ilCourseObjectiveResult\resetTestForUser(), ilObjMediaCast\saveOrder(), ilLPTableBaseGUI\searchFilterListener(), ilLPTableBaseGUI\sendMail(), ilObjContentObjectGUI\setilLMMenu(), ilLPListOfProgressGUI\show(), ilInfoScreenGUI\showLearningProgress(), ilLearningProgressGUI\showtlt(), 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 530 of file class.ilObjectLP.php.
References $DIC, $ilDB, $obj_id, $query, $res, $row, $tree, $type, and array.
Referenced by ilLPProgressTableGUI\getItems(), and ilLPStatus\validateLPForObjects().
ilObjectLP::getMailTemplateId | ( | ) |
Definition at line 634 of file class.ilObjectLP.php.
ilObjectLP::getMembers | ( | $a_search = true | ) |
Definition at line 260 of file class.ilObjectLP.php.
References $path, $tree, ilObject\_getAllReferences(), and ilObject\_lookupObjId().
ilObjectLP::getModeInfoText | ( | $a_mode | ) |
Definition at line 230 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2InfoText().
ilObjectLP::getModeText | ( | $a_mode | ) |
Definition at line 225 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2Text().
ilObjectLP::getSettingsInfo | ( | ) |
Definition at line 235 of file class.ilObjectLP.php.
|
static |
Definition at line 60 of file class.ilObjectLP.php.
Referenced by ilCourseLPBadgeGUI\getLPTypes(), and ilObjUserTrackingGUI\initLPDefaultsForm().
|
static |
Get current type default.
string | $a_type |
Definition at line 709 of file class.ilObjectLP.php.
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
|
staticprotected |
ilObjectLP::getValidModes | ( | ) |
|
final |
Definition at line 406 of file class.ilObjectLP.php.
References ilChangeEvent\_delete(), ilLPMarks\deleteObject(), getCollectionInstance(), and updateParentCollections().
|
staticfinal |
Definition at line 345 of file class.ilObjectLP.php.
References $DIC, $ilDB, $query, $tree, ilObject\_getAllReferences(), ilObject\_lookupType(), ilLPStatusWrapper\_refreshStatus(), and array.
Referenced by ilTrackingAppEventListener\handleEvent().
|
final |
Definition at line 401 of file class.ilObjectLP.php.
References updateParentCollections().
ilObjectLP::isActive | ( | ) |
Definition at line 213 of file class.ilObjectLP.php.
References $mode, getCurrentMode(), ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_UNDEFINED.
ilObjectLP::isAnonymized | ( | ) |
Definition at line 166 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 458 of file class.ilObjectLP.php.
|
static |
Definition at line 140 of file class.ilObjectLP.php.
References $a_type, $DIC, $valid, array, and ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by ilCtrl\checkLPSettingsForward(), ilSkillLevelResourcesTableGUI\fillRow(), ilLPListOfSettingsGUI\getLPPathInfo(), ilCourseLPBadgeGUI\getLPTypes(), ilConditionHandler\getOperatorsByTargetType(), ilObjUserTrackingGUI\initLPDefaultsForm(), and ilObjUserTrackingGUI\saveLPDefaultsObject().
ilObjectLP::resetCaches | ( | ) |
Definition at line 160 of file class.ilObjectLP.php.
|
protected |
Definition at line 324 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
|
final |
Definition at line 288 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
|
final |
Definition at line 296 of file class.ilObjectLP.php.
References ilLPMarks\_deleteForUsers(), ilChangeEvent\_deleteReadEventsForUsers(), ilObject\_lookupObjId(), ilLPStatusWrapper\_updateStatus(), and resetCustomLPDataForUserIds().
Referenced by resetLPDataForCompleteObject().
|
static |
Definition at line 688 of file class.ilObjectLP.php.
References $DIC, $ilDB, $mode, $type, and array.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
|
static |
Definition at line 649 of file class.ilObjectLP.php.
References array.
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 654 of file class.ilObjectLP.php.
References array.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
|
static |
Definition at line 644 of file class.ilObjectLP.php.
References array.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrSummaryTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
|
finalprotected |
Definition at line 422 of file class.ilObjectLP.php.
References $db, $ilDB, $query, ilObject\_lookupType(), ilLPStatusWrapper\_refreshStatus(), and array.
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.