ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 |
Definition at line 39 of file class.ilObjectLP.php.
References $DIC, $obj_id, and ILIAS\Repository\objectDefinition().
ilObjectLP::appendModeConfiguration | ( | int | $mode, |
ilRadioOption | $modeElement | ||
) |
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.
References $DIC, $obj_id, $path, $ref_id, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ilTree\getPathId(), and ilTree\isGrandChild().
|
protected |
Definition at line 328 of file class.ilObjectLP.php.
References ilLPMarks\_getAllUserIds(), and ilChangeEvent\_getAllUserIds().
Referenced by resetLPDataForCompleteObject().
ilObjectLP::getCollectionInstance | ( | ) |
Definition at line 261 of file class.ilObjectLP.php.
References $collection_instance, getCurrentMode(), and ilLPCollection\getInstanceByMode().
Referenced by ilTrSummaryTableGUI\getItems(), and handleDelete().
ilObjectLP::getCurrentMode | ( | ) |
Definition at line 207 of file class.ilObjectLP.php.
References $mode, ilObjUserTracking\_enabledLearningProgress(), ilLPObjSettings\_lookupDBMode(), ilObject\_lookupType(), getDefaultMode(), ILIAS\Repository\int(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
Referenced by getCollectionInstance(), ilTrSummaryTableGUI\getItems(), ilCmiXapiLP\initModeOptions(), isActive(), and ilCertificateSettingsCourseFormRepository\save().
ilObjectLP::getDefaultMode | ( | ) |
Definition at line 194 of file class.ilObjectLP.php.
References ilLPObjSettings\LP_MODE_UNDEFINED.
Referenced by getCurrentMode().
|
static |
Get available type-specific default modes (no administration needed)
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, and ilObject\_lookupType().
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilScormPlaceholderDescription\__construct(), ilLPListOfSettingsGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilCertificateSettingsCourseFormRepository\__construct(), ilLPProgressTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPTableBaseGUI\__construct(), ilXapiStatementEvaluation\__construct(), ilLearningProgressBaseGUI\__construct(), ilLPObjSettings\__construct(), ilLearningProgressGUI\__getNextClass(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilLearningProgressBaseGUI\__setSubTabs(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusFactory\_getClassById(), ilLPStatusCollection\_getCompleted(), ilLPStatusCollection\_getFailed(), ilLPStatusCollection\_getInProgress(), ilLPStatusFactory\_getInstance(), ilLPStatusSCORM\_getNotAttempted(), ilLPStatusCollectionManual\_getStatusInfo(), ilLPStatusCollectionTLT\_getStatusInfo(), ilLPStatusSCORM\_getStatusInfo(), ilLPStatusCollection\_getStatusInfo(), ilLPStatusCollectionManual\_setObjectStatus(), ILIAS\MediaCast\LearningProgress\LearningProgressManager\addItemToLP(), ilConditionHandlerGUI\assign(), ilContentPageKioskModeView\buildLearningProgressToggleControl(), ilLearningProgressAccess\checkAccess(), ilLMExplorerGUI\checkLPIcon(), ilLPStatus\checkLPModesForObjects(), ilContainer\cloneDependencies(), ilObjMediaCast\copyOrder(), ilObjSurvey\deleteAllUserData(), ilLPListOfProgressGUI\details(), ilLPStatusSCORM\determinePercentage(), ilLPStatusSCORM\determineStatus(), ilLPStatusCollection\determineStatus(), ilObjContentObject\doMDUpdateListener(), ilLearningProgressGUI\editManual(), ilLPProgressTableGUI\fillRow(), ilLPCronObjectStatistics\gatherCourseLPData(), ilLPStatusCollectionMobs\getCollectionItems(), ilScormMailTemplateLPContext\getDescription(), ilCertificateObjectLPHelper\getInstance(), ilTrSummaryTableGUI\getItems(), ilObjCmiXapi\getLPMode(), ilLPListOfSettingsGUI\getLPPathInfo(), ilTrQuery\getObjectIds(), ilTrQuery\getObjectsStatusForUser(), ilTimingsUser\getObjectsWithInactiveLP(), ilTrQuery\getParticipantsForObject(), ilCourseMembershipGUI\getPrintMemberData(), ilLPTableBaseGUI\getSelectableUserColumns(), ilObjSCORMInitData\getStatus(), ilTrQuery\getSubItemsStatusForUser(), ilTrQuery\getSubTree(), ilTrackingAppEventListener\handleEvent(), ilCourseAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilMembershipGUI\initAttendanceList(), ilLearningProgressGUI\initCollectionManualForm(), ilCourseLPBadgeGUI\initConfigForm(), ilObjCourseGUI\initEditForm(), ilLearningProgressBaseGUI\initEditUserForm(), ilTrUserObjectsPropsTableGUI\initFilter(), ilConditionHandlerGUI\initFormCondition(), ilGroupMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilLPStatusPlugin\initPluginObj(), ilIndividualAssessmentLPInterface\isActiveLP(), ILIAS\MediaCast\LearningProgress\LearningProgressManager\isCollectionMode(), ilLPTableBaseGUI\isPercentageAvailable(), ilSCORMTrackingItems\markedLearningStatusForExportSelected(), ilLearningModuleKioskModeView\maybeBuildLearningProgressToggleControl(), ilLMObject\MDUpdateListener(), ilLPCollectionOfRepositoryObjects\parseTableGUIItem(), ilLPTableBaseGUI\parseTitle(), ilObjSAHSLearningModule\populateByDirectoy(), ilLearningSequenceRoles\readMemberData(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilTimingCache\readObjectInformation(), ilObjSurvey\removeSelectedSurveyResults(), ilObjTest\removeTestResults(), ilLMMenuRendererGUI\render(), ilCourseObjectiveResult\resetTestForUser(), ilCertificateSettingsCourseFormRepository\save(), ilLPTableBaseGUI\searchFilterListener(), ilLPTableBaseGUI\sendMail(), ilInfoScreenGUI\showLearningProgress(), ilLearningProgressGUI\showtlt(), ilContentPageKioskModeView\toggleLearningProgress(), ilLearningModuleKioskModeView\toggleLearningProgress(), ilConditionHandlerGUI\updateCondition(), ilObjCourseGUI\updateLPFromStatus(), ilLearningProgressGUI\updateManual(), ilLPCollectionOfRepositoryObjects\validateEntry(), and ilCourseLPBadgeGUI\validateForm().
|
static |
Get all objects where given user is member (from LP POV)
Definition at line 504 of file class.ilObjectLP.php.
References $DIC, $ilDB, $ref_id, $res, $type, ilTree\getParentId(), ILIAS\Repository\int(), and ROOT_FOLDER_ID.
Referenced by ilLPProgressTableGUI\getItems(), and ilLPStatus\validateLPForObjects().
ilObjectLP::getMailTemplateId | ( | ) |
Definition at line 617 of file class.ilObjectLP.php.
ilObjectLP::getMembers | ( | bool | $search = true | ) |
Definition at line 269 of file class.ilObjectLP.php.
References $path, $ref_id, ilObject\_getAllReferences(), and ilObject\_lookupObjId().
ilObjectLP::getModeInfoText | ( | int | $mode | ) |
Definition at line 249 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2InfoText().
ilObjectLP::getModeText | ( | int | $mode | ) |
Definition at line 244 of file class.ilObjectLP.php.
References ilLPObjSettings\_mode2Text().
ilObjectLP::getSettingsInfo | ( | ) |
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().
|
static |
Definition at line 72 of file class.ilObjectLP.php.
References $DIC.
Referenced by ilCourseLPBadgeGUI\getLPTypes(), ilCertificateObjectLPHelper\getTypeClass(), and ilObjUserTrackingGUI\initLPDefaultsForm().
|
static |
Definition at line 681 of file class.ilObjectLP.php.
References $db.
Referenced by ilObjUserTrackingGUI\initLPDefaultsForm().
|
staticprotected |
ilObjectLP::getValidModes | ( | ) |
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().
|
staticfinal |
Definition at line 334 of file class.ilObjectLP.php.
References $DIC, $ilDB, ilObject\_getAllReferences(), ilObject\_lookupType(), ilLPStatusWrapper\_refreshStatus(), ilTree\getPathId(), ilTree\getSubTreeIds(), and ilTree\isGrandChild().
Referenced by ilTrackingAppEventListener\handleEvent().
|
final |
Definition at line 393 of file class.ilObjectLP.php.
References updateParentCollections().
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 getCurrentMode(), ilLPObjSettings\LP_MODE_DEACTIVATED, and ilLPObjSettings\LP_MODE_UNDEFINED.
ilObjectLP::isAnonymized | ( | ) |
Definition at line 188 of file class.ilObjectLP.php.
|
staticprotected |
Find (lp-relevant) members for given object ids.
Definition at line 441 of file class.ilObjectLP.php.
|
static |
Definition at line 171 of file class.ilObjectLP.php.
References $valid.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilSkillLevelResourcesTableGUI\fillRow(), ilObjLearningSequenceLPPollingGUI\getCurrentItemLearningProgress(), ilLearnerProgressDB\getLearningProgressFor(), ilLPListOfSettingsGUI\getLPPathInfo(), ilCourseLPBadgeGUI\getLPTypes(), ilTimingsUser\getObjectsWithInactiveLP(), ilConditionHandler\getOperatorsByTriggerType(), ilConditionHandler\getTriggerTypes(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilCertificateObjectLPHelper\isSupportedObjectType(), and ilObjUserTrackingGUI\saveLPDefaultsObject().
ilObjectLP::resetCaches | ( | ) |
Definition at line 182 of file class.ilObjectLP.php.
|
protected |
Definition at line 323 of file class.ilObjectLP.php.
Referenced by resetLPDataForUserIds().
|
final |
Definition at line 291 of file class.ilObjectLP.php.
References gatherLPUsers(), and resetLPDataForUserIds().
|
final |
Definition at line 299 of file class.ilObjectLP.php.
References ilLPMarks\_deleteForUsers(), ilChangeEvent\_deleteReadEventsForUsers(), ilObject\_lookupObjId(), ilLPStatusWrapper\_updateStatus(), and resetCustomLPDataForUserIds().
Referenced by resetLPDataForCompleteObject().
ilObjectLP::saveModeConfiguration | ( | ilPropertyFormGUI | $form, |
bool & | $modeChanged | ||
) |
Definition at line 716 of file class.ilObjectLP.php.
|
static |
Definition at line 667 of file class.ilObjectLP.php.
References $DIC, $ilDB, and $type.
Referenced by ilObjUserTrackingGUI\saveLPDefaultsObject().
ilObjectLP::shouldFetchIndividualModeFromFormSubmission | ( | ) |
Definition at line 702 of file class.ilObjectLP.php.
|
static |
Definition at line 632 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilLearningProgressBaseGUI\initEditUserForm(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
|
static |
Definition at line 637 of file class.ilObjectLP.php.
Referenced by ilLearningProgressBaseGUI\__setSubTabs().
|
static |
Definition at line 627 of file class.ilObjectLP.php.
Referenced by ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilLPTableBaseGUI\parseValue(), and ilTrSummaryTableGUI\parseValue().
|
finalprotected |
Definition at line 412 of file class.ilObjectLP.php.
References ilObject\_lookupType(), and ilLPStatusWrapper\_refreshStatus().
Referenced by handleDelete(), and handleToTrash().
|
protected |
Definition at line 36 of file class.ilObjectLP.php.
Referenced by getCollectionInstance().
|
protected |
Definition at line 31 of file class.ilObjectLP.php.
Referenced by getTypeDefault().
|
protected |
Definition at line 37 of file class.ilObjectLP.php.
Referenced by getCurrentMode().
|
protected |
Definition at line 34 of file class.ilObjectLP.php.
Referenced by __construct(), findMembershipsByPath(), and getInstance().
|
protected |
Definition at line 32 of file class.ilObjectLP.php.
|
protected |
Definition at line 30 of file class.ilObjectLP.php.
|
staticprotected |
Definition at line 28 of file class.ilObjectLP.php.