ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | |
$obj_id | |
$collection_instance | |
$mode | |
Static Protected Attributes | |
static | $type_defaults |
Definition at line 14 of file class.ilObjectLP.php.
|
protected |
Definition at line 22 of file class.ilObjectLP.php.
|
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 $obj_id, $path, $ref_id, ilObject\_lookupObjId(), ilObject\_lookupType(), and array.
|
protected |
Definition at line 335 of file class.ilObjectLP.php.
References ilLPMarks\_getAllUserIds(), and ilChangeEvent\_getAllUserIds().
Referenced by resetLPDataForCompleteObject().
ilObjectLP::getCollectionInstance | ( | ) |
Definition at line 242 of file class.ilObjectLP.php.
References $collection_instance, getCurrentMode(), and ilLPCollection\getInstanceByMode().
Referenced by handleDelete().
ilObjectLP::getCurrentMode | ( | ) |
Definition at line 178 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 167 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 704 of file class.ilObjectLP.php.
References array, and ilLPObjSettings\LP_MODE_UNDEFINED.
|
static |
Definition at line 27 of file class.ilObjectLP.php.
References 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(), 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(), ilSCORMOfflineMode\il2sop(), 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(), ilSCORMTrackingItems\markedLearningStatusForExportSelected(), ilLMObject\MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilLPCollectionOfRepositoryObjects\parseTableGUIItem(), ilLPTableBaseGUI\parseTitle(), ilMembershipGUI\printMembersOutput(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilObjSurvey\removeSelectedSurveyResults(), ilObjTest\removeTestResults(), ilCourseObjectiveResult\resetTestForUser(), ilInfoScreenGUI\saveProgress(), ilLPTableBaseGUI\searchFilterListener(), ilLPTableBaseGUI\sendMail(), ilObjContentObjectGUI\setilLMMenu(), ilLPListOfProgressGUI\show(), ilInfoScreenGUI\showLearningProgress(), ilLearningProgressGUI\showtlt(), 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 550 of file class.ilObjectLP.php.
References $ilDB, $obj_id, $query, $ref_id, $res, $row, and array.
Referenced by ilLPProgressTableGUI\getItems(), and ilLPStatus\validateLPForObjects().
ilObjectLP::getMailTemplateId | ( | ) |
Definition at line 671 of file class.ilObjectLP.php.
ilObjectLP::getMembers | ( | $a_search = true | ) |
Definition at line 258 of file class.ilObjectLP.php.
References $path, $ref_id, ilObject\_getAllReferences(), and ilObject\_lookupObjId().
ilObjectLP::getModeInfoText | ( | $a_mode | ) |
Definition at line 227 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2InfoText().
ilObjectLP::getModeText | ( | $a_mode | ) |
Definition at line 222 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2Text().
ilObjectLP::getSettingsInfo | ( | ) |
Definition at line 232 of file class.ilObjectLP.php.
|
static |
Definition at line 50 of file class.ilObjectLP.php.
References $a_type.
Referenced by ilCourseLPBadgeGUI\getLPTypes(), and ilObjUserTrackingGUI\initLPDefaultsForm().
|
static |
Get current type default.
string | $a_type |
Definition at line 745 of file class.ilObjectLP.php.
References $a_type.
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
|
staticprotected |
ilObjectLP::getValidModes | ( | ) |
|
final |
Definition at line 414 of file class.ilObjectLP.php.
References ilChangeEvent\_delete(), ilLPMarks\deleteObject(), getCollectionInstance(), and updateParentCollections().
|
staticfinal |
Definition at line 351 of file class.ilObjectLP.php.
References $ilDB, $query, ilObject\_getAllReferences(), ilObject\_lookupType(), ilLPStatusWrapper\_refreshStatus(), and array.
Referenced by ilTrackingAppEventListener\handleEvent().
|
final |
Definition at line 409 of file class.ilObjectLP.php.
References updateParentCollections().
ilObjectLP::isActive | ( | ) |
Definition at line 209 of file class.ilObjectLP.php.
References $mode, getCurrentMode(), ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_UNDEFINED.
ilObjectLP::isAnonymized | ( | ) |
Definition at line 156 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 130 of file class.ilObjectLP.php.
References $a_type, $valid, array, and ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by ilCtrl\checkLPSettingsForward(), ilLPListOfSettingsGUI\getLPPathInfo(), ilCourseLPBadgeGUI\getLPTypes(), ilConditionHandler\getOperatorsByTargetType(), ilObjUserTrackingGUI\initLPDefaultsForm(), and ilObjUserTrackingGUI\saveLPDefaultsObject().
ilObjectLP::resetCaches | ( | ) |
Definition at line 150 of file class.ilObjectLP.php.
|
protected |
Definition at line 330 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
|
final |
Definition at line 289 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
|
final |
Definition at line 298 of file class.ilObjectLP.php.
References ilLPMarks\_deleteForUsers(), ilChangeEvent\_deleteReadEventsForUsers(), ilObject\_lookupObjId(), ilLPStatusWrapper\_updateStatus(), and resetCustomLPDataForUserIds().
Referenced by resetLPDataForCompleteObject().
|
static |
Definition at line 725 of file class.ilObjectLP.php.
References $ilDB, $mode, and array.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
|
static |
Definition at line 686 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 691 of file class.ilObjectLP.php.
References array.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
|
static |
Definition at line 681 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 431 of file class.ilObjectLP.php.
References $ilDB, $query, ilObject\_lookupType(), ilLPStatusWrapper\_refreshStatus(), and array.
Referenced by handleDelete(), and handleToTrash().
|
protected |
Definition at line 17 of file class.ilObjectLP.php.
Referenced by getCollectionInstance().
|
protected |
Definition at line 18 of file class.ilObjectLP.php.
Referenced by getCurrentMode(), isActive(), and saveTypeDefaults().
|
protected |
Definition at line 16 of file class.ilObjectLP.php.
Referenced by findMembershipsByPath(), and getLPMemberships().
|
staticprotected |
Definition at line 20 of file class.ilObjectLP.php.