|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Base class for object lp connectors. 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 () | |
| Post vars for input groups is taken from array keys. More... | |
| shouldFetchIndividualModeFromFormSubmission () | |
| fetchIndividualModeFromFormSubmission (string $selected_group, array $group_data) | |
| appendModeConfiguration (int $mode) | |
| saveModeConfiguration (string $selected_group, array $group_data, 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 |
Base class for object lp connectors.
Definition at line 29 of file class.ilObjectLP.php.
|
protected |
Reimplemented in ilTestLP.
Definition at line 42 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 | ) |
Reimplemented in ilForumLP.
Definition at line 729 of file class.ilObjectLP.php.
| ilObjectLP::fetchIndividualModeFromFormSubmission | ( | string | $selected_group, |
| array | $group_data | ||
| ) |
| string | $selected_group | post var of the selected group |
| array | $group_data | data of the that group as array, as processed by the KS |
Definition at line 719 of file class.ilObjectLP.php.
|
staticprotected |
Find (lp-relevant) memberships by path.
Definition at line 453 of file class.ilObjectLP.php.
References $obj_id, $ref_id, $res, $tree, ilObject\_lookupObjId(), ilObject\_lookupType(), getTypeClass(), and ilTree\isGrandChild().
Here is the call graph for this function:
|
protected |
Definition at line 331 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 264 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 ilPluginLP, ilCourseLP, and ilScormLP.
Definition at line 210 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(), and isActive().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectLP::getDefaultMode | ( | ) |
Reimplemented in ilCmiXapiLP, ilPluginLP, ilContentPageLP, ilCourseLP, ilCourseReferenceLP, ilExerciseLP, ilFileLP, ilFolderLP, ilForumLP, ilGroupLP, ilHTMLLearningModuleLP, ilIndividualAssessmentLP, ilLearningModuleLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilStudyProgrammeLP, ilSurveyLP, and ilTestLP.
Definition at line 197 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, ilExerciseLP, ilFileLP, ilGroupLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilTestLP, ilContentPageLP, ilCourseReferenceLP, ilFolderLP, ilForumLP, ilHTMLLearningModuleLP, ilIndividualAssessmentLP, ilLearningModuleLP, ilStudyProgrammeLP, and ilSurveyLP.
Definition at line 650 of file class.ilObjectLP.php.
References ilLPObjSettings\LP_MODE_UNDEFINED.
|
static |
| int | $obj_id |
Definition at line 57 of file class.ilObjectLP.php.
References $obj_id, ilObject\_lookupType(), and getTypeClass().
Referenced by ilLPProgressTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPTableBaseGUI\__construct(), ilXapiStatementEvaluation\__construct(), ilLPListOfSettingsGUI\__construct(), ilLearningProgressBaseGUI\__construct(), ilLPObjSettings\__construct(), ilScormPlaceholderDescription\__construct(), ILIAS\Forum\Statistics\ForumStatisticsTable\__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(), ilFileKioskModeView\buildControls(), ilContentPageKioskModeView\buildLearningProgressToggleControl(), ilLMExplorerGUI\checkLPIcon(), ilContainer\cloneDependencies(), ilLPListOfProgressGUI\details(), ilLPStatusCollection\determineStatus(), ilObjContentObject\doMDUpdateListener(), ilLearningProgressGUI\editManual(), ilLPProgressTableGUI\fillRow(), ilLPCronObjectStatistics\gatherCourseLPData(), ilLPStatusCollectionMobs\getCollectionItems(), ilObjSAHSLearningModule\getCreditMode(), ilLSItemsDB\getCurrentLPMode(), ilCertificateObjectLPHelper\getInstance(), ilTrSummaryTableGUI\getItems(), ilObjCmiXapi\getLPMode(), ilObjFile\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(), ILIAS\Tracking\View\DataRetrieval\DataRetrieval\retrieveViewInfo(), 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 507 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 620 of file class.ilObjectLP.php.
| ilObjectLP::getMembers | ( | bool | $search = true | ) |
Reimplemented in ilCourseLP, ilGroupLP, ilIndividualAssessmentLP, ilCourseReferenceLP, and ilStudyProgrammeLP.
Definition at line 272 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 252 of file class.ilObjectLP.php.
References $mode, and ilLPObjSettings\_mode2InfoText().
Here is the call graph for this function:| ilObjectLP::getModeText | ( | int | $mode | ) |
Reimplemented in ilForumLP.
Definition at line 247 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 257 of file class.ilObjectLP.php.
|
static |
Definition at line 134 of file class.ilObjectLP.php.
References $DIC, XapiProxy\$plugin, $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 75 of file class.ilObjectLP.php.
References $DIC.
Referenced by findMembershipsByPath(), getInstance(), ilCourseLPBadgeGUI\getLPTypes(), ilCertificateObjectLPHelper\getTypeClass(), and ilObjUserTrackingGUI\initLPDefaultsForm().
Here is the caller graph for this function:
|
static |
Definition at line 684 of file class.ilObjectLP.php.
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 655 of file class.ilObjectLP.php.
Referenced by getCurrentMode().
Here is the caller graph for this function:| ilObjectLP::getValidModes | ( | ) |
Reimplemented in ilCmiXapiLP, ilPluginLP, ilContentPageLP, ilCourseLP, ilCourseReferenceLP, ilExerciseLP, ilFileLP, ilFolderLP, ilForumLP, ilGroupLP, ilHTMLLearningModuleLP, ilIndividualAssessmentLP, ilLearningModuleLP, ilLSLP, ilLTIConsumerLP, ilMediaCastLP, ilScormLP, ilSessionLP, ilStudyProgrammeLP, ilSurveyLP, and ilTestLP.
Definition at line 205 of file class.ilObjectLP.php.
|
final |
Definition at line 401 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 337 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 396 of file class.ilObjectLP.php.
References updateParentCollections().
Here is the call graph for this function:| ilObjectLP::hasIndividualModeOptions | ( | ) |
Definition at line 696 of file class.ilObjectLP.php.
| ilObjectLP::initInvidualModeOptions | ( | ) |
Post vars for input groups is taken from array keys.
Definition at line 705 of file class.ilObjectLP.php.
| ilObjectLP::isActive | ( | ) |
Definition at line 235 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 191 of file class.ilObjectLP.php.
|
staticprotected |
Find (lp-relevant) members for given object ids.
Reimplemented in ilCourseLP, ilExerciseLP, ilGroupLP, ilScormLP, ilTestLP, ilPluginLP, and ilSurveyLP.
Definition at line 444 of file class.ilObjectLP.php.
|
static |
Definition at line 174 of file class.ilObjectLP.php.
References $valid, and getSupportedObjectTypes().
Referenced by ilObjLearningSequenceLPPollingGUI\getCurrentItemLearningProgress(), ILIAS\Skill\Table\LevelResourcesTable\getDataRetrieval(), 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 185 of file class.ilObjectLP.php.
|
protected |
Reimplemented in ilTestLP.
Definition at line 326 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
Here is the caller graph for this function:
|
final |
Definition at line 294 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
Here is the call graph for this function:
|
final |
Definition at line 302 of file class.ilObjectLP.php.
References $user_id, 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 | ( | string | $selected_group, |
| array | $group_data, | ||
| bool & | $modeChanged | ||
| ) |
| string | $selected_group | post var of the selected group |
| array<string,mixed> | $group_data data of the that group as array, as processed by the KS |
Reimplemented in ilForumLP.
Definition at line 738 of file class.ilObjectLP.php.
|
static |
Definition at line 670 of file class.ilObjectLP.php.
References $data, $DIC, and $ilDB.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
Here is the caller graph for this function:| ilObjectLP::shouldFetchIndividualModeFromFormSubmission | ( | ) |
Definition at line 710 of file class.ilObjectLP.php.
|
static |
Definition at line 635 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 640 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
Here is the caller graph for this function:
|
static |
Definition at line 630 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 415 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 39 of file class.ilObjectLP.php.
Referenced by getCollectionInstance().
|
protected |
Definition at line 34 of file class.ilObjectLP.php.
|
protected |
Definition at line 40 of file class.ilObjectLP.php.
Referenced by ilForumLP\appendModeConfiguration(), getCurrentMode(), getModeInfoText(), getModeText(), and isActive().
|
protected |
Definition at line 37 of file class.ilObjectLP.php.
Referenced by __construct(), ilTestLP\__construct(), findMembershipsByPath(), and getInstance().
|
protected |
Definition at line 35 of file class.ilObjectLP.php.
|
protected |
Definition at line 33 of file class.ilObjectLP.php.
Referenced by findMembershipsByPath(), and handleMove().
|
staticprotected |
Definition at line 31 of file class.ilObjectLP.php.