|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilObjectLP:
Collaboration diagram for ilObjectLP:Public Member Functions | |
| resetCaches () | |
| isAnonymized () | |
| getDefaultMode () | |
| getValidModes () | |
| getCurrentMode () | |
| isActive () | |
| getModeText (int $mode) | |
| getModeInfoText (int $mode) | |
| getSettingsInfo () | |
| getCollectionInstance () | |
| getMembers (bool $search=true) | |
| resetLPDataForCompleteObject (bool $recursive=true) | |
| resetLPDataForUserIds (array $user_ids, bool $recursive=true) | |
| handleToTrash () | |
| handleDelete () | |
| getMailTemplateId () | |
| hasIndividualModeOptions () | |
| initInvidualModeOptions (ilRadioGroupInputGUI $modeRadio) | |
| shouldFetchIndividualModeFromFormSubmission () | |
| fetchIndividualModeFromFormSubmission (ilPropertyFormGUI $form) | |
| appendModeConfiguration (int $mode, ilRadioOption $modeElement) | |
| saveModeConfiguration (ilPropertyFormGUI $form, bool &$modeChanged) | |
Static Public Member Functions | |
| static | getInstance (int $obj_id) |
| static | getTypeClass (string $type) |
| static | getSupportedObjectTypes () |
| static | isSupportedObjectType (string $type) |
| static | handleMove (int $source_ref_id) |
| static | getLPMemberships (int $usr_id, array $obj_ids, ?int $parent_ref_id=null, bool $mapped_ref_ids=false) |
| Get all objects where given user is member (from LP POV) More... | |
| static | supportsSpentSeconds (string $obj_type) |
| static | supportsMark (string $obj_type) |
| static | supportsMatrixView (string $obj_type) |
| static | getDefaultModes (bool $lp_active) |
| Get available type-specific default modes (no administration needed) More... | |
| static | saveTypeDefaults (array $data) |
| static | getTypeDefault (string $type) |
Protected Member Functions | |
| __construct (int $obj_id) | |
| resetCustomLPDataForUserIds (array $user_ids, bool $recursive=true) | |
| gatherLPUsers () | |
| updateParentCollections () | |
Static Protected Member Functions | |
| static | isLPMember (array &$res, int $usr_id, array $obj_ids) |
| Find (lp-relevant) members for given object ids. More... | |
| static | findMembershipsByPath (array &$res, int $usr_id, int $parent_ref_id, array $obj_ids, bool $mapped_ref_ids=false) |
| Find (lp-relevant) memberships by path. More... | |
| static | getTypeDefaultFromDB (string $type) |
Protected Attributes | |
| ilTree | $tree |
| ilDBInterface | $db |
| ilObjectDefinition | $objectDefinition |
| int | $obj_id |
| ilLPCollection | $collection_instance = null |
| int | $mode = null |
Static Protected Attributes | |
| static array | $type_defaults = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Base class for object lp connectors
Definition at line 26 of file class.ilObjectLP.php.
|
protected |
Reimplemented in ilTestLP.
Definition at line 39 of file class.ilObjectLP.php.
References $DIC, $obj_id, and ILIAS\Repository\objectDefinition().
Here is the call graph for this function:| ilObjectLP::appendModeConfiguration | ( | int | $mode, |
| ilRadioOption | $modeElement | ||
| ) |
Reimplemented in ilForumLP.
Definition at line 712 of file class.ilObjectLP.php.
| ilObjectLP::fetchIndividualModeFromFormSubmission | ( | ilPropertyFormGUI | $form | ) |
Definition at line 707 of file class.ilObjectLP.php.
|
staticprotected |
Find (lp-relevant) memberships by path.
Definition at line 450 of file class.ilObjectLP.php.
|
protected |
Definition at line 328 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 261 of file class.ilObjectLP.php.
References $collection_instance, getCurrentMode(), and ilLPCollection\getInstanceByMode().
Referenced by ilTrSummaryTableGUI\getItems(), and 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 207 of file class.ilObjectLP.php.
References $mode, ilObjUserTracking\_enabledLearningProgress(), ilLPObjSettings\_lookupDBMode(), ilObject\_lookupType(), getDefaultMode(), getTypeDefaultFromDB(), ILIAS\Repository\int(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
Referenced by getCollectionInstance(), ilTrSummaryTableGUI\getItems(), ilCmiXapiLP\initModeOptions(), isActive(), and ilCertificateSettingsCourseFormRepository\save().
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, ilForumLP, ilGroupLP, ilHTMLLearningModuleLP, ilIndividualAssessmentLP, ilLearningModuleLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilStudyProgrammeLP, ilSurveyLP, ilTestLP, and ilPluginLP.
Definition at line 194 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)
Reimplemented in ilCourseLP, ilCourseReferenceLP, ilExerciseLP, ilFileLP, ilGroupLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilTestLP, ilContentPageLP, ilFolderLP, ilForumLP, ilHTMLLearningModuleLP, ilLearningModuleLP, ilStudyProgrammeLP, and ilSurveyLP.
Definition at line 647 of file class.ilObjectLP.php.
References ilLPObjSettings\LP_MODE_UNDEFINED.
|
static |
| int | $obj_id |
Definition at line 54 of file class.ilObjectLP.php.
References $obj_id, $type, ilObject\_lookupType(), and getTypeClass().
Referenced by ilLPProgressTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPTableBaseGUI\__construct(), ilXapiStatementEvaluation\__construct(), ilScormPlaceholderDescription\__construct(), ilCertificateSettingsCourseFormRepository\__construct(), ilForumStatisticsTableGUI\__construct(), ilLPListOfSettingsGUI\__construct(), ilLearningProgressBaseGUI\__construct(), ilLPObjSettings\__construct(), ilLearningProgressGUI\__getNextClass(), ilLPListOfObjectsGUI\__initDetails(), ilLPListOfProgressGUI\__initDetails(), ilLearningProgressBaseGUI\__setSubTabs(), ilLPStatusFactory\_getClassById(), ilLPStatusCollection\_getCompleted(), ilLPStatusCollection\_getFailed(), ilLPStatusCollection\_getInProgress(), ilLPStatusFactory\_getInstance(), ilLPStatusSCORM\_getNotAttempted(), ilLPStatusCollection\_getStatusInfo(), ilLPStatusCollectionManual\_getStatusInfo(), ilLPStatusCollectionTLT\_getStatusInfo(), ilLPStatusSCORM\_getStatusInfo(), ILIAS\MediaCast\LearningProgress\LearningProgressManager\addItemToLP(), ilConditionHandlerGUI\assign(), ilContentPageKioskModeView\buildLearningProgressToggleControl(), ilLMExplorerGUI\checkLPIcon(), ilContainer\cloneDependencies(), ilLPListOfProgressGUI\details(), ilLPStatusCollection\determineStatus(), ilObjContentObject\doMDUpdateListener(), ilLearningProgressGUI\editManual(), ilLPProgressTableGUI\fillRow(), ilLPCronObjectStatistics\gatherCourseLPData(), ilLPStatusCollectionMobs\getCollectionItems(), ilCertificateObjectLPHelper\getInstance(), ilTrSummaryTableGUI\getItems(), ilObjCmiXapi\getLPMode(), ilLPListOfSettingsGUI\getLPPathInfo(), getMembers(), ilTrQuery\getObjectsStatusForUser(), ilTimingsUser\getObjectsWithInactiveLP(), ilTrQuery\getParticipantsForObject(), ilCourseMembershipGUI\getPrintMemberData(), ilObjSCORMInitData\getStatus(), ilTrQuery\getSubItemsStatusForUser(), ilTrQuery\getSubTree(), ilCourseAppEventListener\handleEvent(), ilTrackingAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilMembershipGUI\initAttendanceList(), ilLearningProgressGUI\initCollectionManualForm(), ilCourseLPBadgeGUI\initConfigForm(), ilObjCourseGUI\initEditForm(), ilTrUserObjectsPropsTableGUI\initFilter(), ilCourseMembershipGUI\initParticipantTableGUI(), ilGroupMembershipGUI\initParticipantTableGUI(), ilLPStatusPlugin\initPluginObj(), ilIndividualAssessmentLPInterface\isActiveLP(), ILIAS\MediaCast\LearningProgress\LearningProgressManager\isCollectionMode(), ilLPTableBaseGUI\isPercentageAvailable(), ilSCORMTrackingItems\markedLearningStatusForExportSelected(), ilLMObject\MDUpdateListener(), ilLPCollectionOfRepositoryObjects\parseTableGUIItem(), ilLPTableBaseGUI\parseTitle(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilLearningSequenceRoles\readMemberData(), ilTimingCache\readObjectInformation(), ilObjTest\removeTestResults(), ilLMMenuRendererGUI\render(), resetLPDataForUserIds(), ilCourseObjectiveResult\resetTestForUser(), ilCertificateSettingsCourseFormRepository\save(), ilLPTableBaseGUI\searchFilterListener(), ilInfoScreenGUI\showLearningProgress(), ilLearningProgressGUI\showtlt(), ilContentPageKioskModeView\toggleLearningProgress(), ilLearningModuleKioskModeView\toggleLearningProgress(), 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)
Definition at line 504 of file class.ilObjectLP.php.
Referenced by ilLPProgressTableGUI\getItems().
Here is the caller graph for this function:| ilObjectLP::getMailTemplateId | ( | ) |
Reimplemented in ilCourseLP, and ilScormLP.
Definition at line 617 of file class.ilObjectLP.php.
| ilObjectLP::getMembers | ( | bool | $search = true | ) |
Reimplemented in ilCourseLP, ilCourseReferenceLP, ilGroupLP, ilIndividualAssessmentLP, and ilStudyProgrammeLP.
Definition at line 269 of file class.ilObjectLP.php.
References $path, $ref_id, ilObject\_getAllReferences(), ilObject\_lookupObjId(), and getInstance().
Here is the call graph for this function:| ilObjectLP::getModeInfoText | ( | int | $mode | ) |
Definition at line 249 of file class.ilObjectLP.php.
References $mode, and ilLPObjSettings\_mode2InfoText().
Here is the call graph for this function:| ilObjectLP::getModeText | ( | int | $mode | ) |
Definition at line 244 of file class.ilObjectLP.php.
References $mode, and 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 131 of file class.ilObjectLP.php.
References $DIC, XapiProxy\$plugin, $type, $valid, and ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\getActualMaxLevels(), and isSupportedObjectType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 72 of file class.ilObjectLP.php.
Referenced by getInstance(), ilCourseLPBadgeGUI\getLPTypes(), ilCertificateObjectLPHelper\getTypeClass(), and ilObjUserTrackingGUI\initLPDefaultsForm().
Here is the caller graph for this function:
|
static |
Definition at line 681 of file class.ilObjectLP.php.
References $type.
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 652 of file class.ilObjectLP.php.
References $DIC, $ilDB, and $type.
Referenced by getCurrentMode().
Here is the caller graph for this function:| ilObjectLP::getValidModes | ( | ) |
Reimplemented in ilCmiXapiLP, ilContentPageLP, ilCourseLP, ilCourseReferenceLP, ilExerciseLP, ilFileLP, ilFolderLP, ilForumLP, ilGroupLP, ilHTMLLearningModuleLP, ilIndividualAssessmentLP, ilLearningModuleLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilStudyProgrammeLP, ilSurveyLP, ilTestLP, and ilPluginLP.
Definition at line 202 of file class.ilObjectLP.php.
|
final |
Definition at line 398 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 334 of file class.ilObjectLP.php.
References $DIC, $ilDB, $tree, ilObject\_getAllReferences(), ilObject\_lookupType(), ilLPStatusWrapper\_refreshStatus(), ilTree\getPathId(), ilTree\getSubTreeIds(), and ilTree\isGrandChild().
Referenced by ilTrackingAppEventListener\handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 393 of file class.ilObjectLP.php.
References updateParentCollections().
Here is the call graph for this function:| ilObjectLP::hasIndividualModeOptions | ( | ) |
Definition at line 693 of file class.ilObjectLP.php.
| ilObjectLP::initInvidualModeOptions | ( | ilRadioGroupInputGUI | $modeRadio | ) |
Definition at line 698 of file class.ilObjectLP.php.
| 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 188 of file class.ilObjectLP.php.
|
staticprotected |
Find (lp-relevant) members for given object ids.
Reimplemented in ilCourseLP, ilExerciseLP, ilGroupLP, ilScormLP, ilTestLP, ilSurveyLP, and ilPluginLP.
Definition at line 441 of file class.ilObjectLP.php.
|
static |
Definition at line 171 of file class.ilObjectLP.php.
References $type, $valid, and getSupportedObjectTypes().
Referenced by ilSkillLevelResourcesTableGUI\fillRow(), ilObjLearningSequenceLPPollingGUI\getCurrentItemLearningProgress(), ilLearnerProgressDB\getLearningProgressFor(), ilLPListOfSettingsGUI\getLPPathInfo(), ilCourseLPBadgeGUI\getLPTypes(), ilTimingsUser\getObjectsWithInactiveLP(), ilConditionHandler\getOperatorsByTriggerType(), ilConditionHandler\getTriggerTypes(), 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 182 of file class.ilObjectLP.php.
|
protected |
Reimplemented in ilTestLP.
Definition at line 323 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
Here is the caller graph for this function:
|
final |
Definition at line 291 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
Here is the call graph for this function:
|
final |
Definition at line 299 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:| ilObjectLP::saveModeConfiguration | ( | ilPropertyFormGUI | $form, |
| bool & | $modeChanged | ||
| ) |
Reimplemented in ilForumLP.
Definition at line 716 of file class.ilObjectLP.php.
|
static |
Definition at line 667 of file class.ilObjectLP.php.
References $data, $DIC, $ilDB, and $type.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
Here is the caller graph for this function:| ilObjectLP::shouldFetchIndividualModeFromFormSubmission | ( | ) |
Definition at line 702 of file class.ilObjectLP.php.
|
static |
Definition at line 632 of file class.ilObjectLP.php.
Referenced by ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilTrObjectUsersPropsTableGUI\initFilter(), and ilTrSummaryTableGUI\initFilter().
Here is the caller graph for this function:
|
static |
Definition at line 637 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
Here is the caller graph for this function:
|
static |
Definition at line 627 of file class.ilObjectLP.php.
Referenced by ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilTrObjectUsersPropsTableGUI\initFilter(), and ilTrSummaryTableGUI\initFilter().
Here is the caller graph for this function:
|
finalprotected |
Definition at line 412 of file class.ilObjectLP.php.
References 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 36 of file class.ilObjectLP.php.
Referenced by getCollectionInstance().
|
protected |
Definition at line 31 of file class.ilObjectLP.php.
|
protected |
Definition at line 37 of file class.ilObjectLP.php.
Referenced by ilForumLP\appendModeConfiguration(), getCurrentMode(), getModeInfoText(), getModeText(), and isActive().
|
protected |
Definition at line 34 of file class.ilObjectLP.php.
Referenced by ilTestLP\__construct(), __construct(), and getInstance().
|
protected |
Definition at line 32 of file class.ilObjectLP.php.
|
protected |
Definition at line 30 of file class.ilObjectLP.php.
Referenced by handleMove().
|
staticprotected |
Definition at line 28 of file class.ilObjectLP.php.