ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($a_obj_id) | |
cloneSettings ($a_new_obj_id) | |
Clone settings. More... | |
getVisits () | |
setVisits ($a_visits) | |
setMode ($a_mode) | |
getMode () | |
getObjId () | |
getObjType () | |
__read () | |
update ($a_refresh_lp=true) | |
insert () | |
Static Public Member Functions | |
static | _delete ($a_obj_id) |
static | _lookupVisits ($a_obj_id) |
static | _lookupDBModeForObjects (array $a_obj_ids) |
static | _lookupDBMode ($a_obj_id) |
static | _mode2Text ($a_mode) |
static | _mode2InfoText ($a_mode) |
static | getClassMap () |
static | _deleteByObjId ($a_obj_id) |
Data Fields | |
$db = null | |
$obj_id = null | |
$obj_type = null | |
$obj_mode = null | |
$visits = null | |
$is_stored = false | |
const | LP_MODE_DEACTIVATED = 0 |
const | LP_MODE_TLT = 1 |
const | LP_MODE_VISITS = 2 |
const | LP_MODE_MANUAL = 3 |
const | LP_MODE_OBJECTIVES = 4 |
const | LP_MODE_COLLECTION = 5 |
const | LP_MODE_SCORM = 6 |
const | LP_MODE_TEST_FINISHED = 7 |
const | LP_MODE_TEST_PASSED = 8 |
const | LP_MODE_EXERCISE_RETURNED = 9 |
const | LP_MODE_EVENT = 10 |
const | LP_MODE_MANUAL_BY_TUTOR = 11 |
const | LP_MODE_SCORM_PACKAGE = 12 |
const | LP_MODE_UNDEFINED = 13 |
const | LP_MODE_PLUGIN = 14 |
const | LP_MODE_COLLECTION_TLT = 15 |
const | LP_MODE_COLLECTION_MANUAL = 16 |
const | LP_MODE_QUESTIONS = 17 |
const | LP_MODE_SURVEY_FINISHED = 18 |
const | LP_MODE_VISITED_PAGES = 19 |
const | LP_MODE_CONTENT_VISITED = 20 |
const | LP_MODE_COLLECTION_MOBS = 21 |
const | LP_MODE_STUDY_PROGRAMME = 22 |
const | LP_MODE_INDIVIDUAL_ASSESSMENT = 23 |
const | LP_DEFAULT_VISITS = 30 |
Protected Member Functions | |
doLPRefresh () | |
Static Protected Attributes | |
static | $map |
Definition at line 14 of file class.ilLPObjSettings.php.
ilLPObjSettings::__construct | ( | $a_obj_id | ) |
Definition at line 126 of file class.ilLPObjSettings.php.
References $DIC, $ilDB, __read(), and ilObjectLP\getInstance().
ilLPObjSettings::__read | ( | ) |
Definition at line 199 of file class.ilLPObjSettings.php.
References $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct(), insert(), and update().
|
static |
|
static |
Definition at line 374 of file class.ilLPObjSettings.php.
Referenced by ilObject\countReferences().
|
static |
Definition at line 316 of file class.ilLPObjSettings.php.
References $DIC, $ilDB, $query, and $row.
Referenced by ilObjectLP\getCurrentMode().
|
static |
Definition at line 296 of file class.ilLPObjSettings.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLPStatus\checkLPModesForObjects(), and ilTimingsUser\getObjectsWithInactiveLP().
|
static |
Definition at line 280 of file class.ilLPObjSettings.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusVisits\_getStatusInfo(), and ilLPStatusVisits\determinePercentage().
|
static |
Definition at line 345 of file class.ilLPObjSettings.php.
References $DIC, $info, $lng, $map, and ilObjUserTracking\_getValidTimeSpan().
Referenced by ilObjectLP\getModeInfoText().
|
static |
Definition at line 333 of file class.ilLPObjSettings.php.
References $DIC, $lng, and $map.
Referenced by ilLPProgressTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowExcel(), ilObjectLP\getModeText(), ilObjUserTrackingGUI\initLPDefaultsForm(), and ilConditionHandlerGUI\translateOperator().
ilLPObjSettings::cloneSettings | ( | $a_new_obj_id | ) |
Clone settings.
public
int | new obj id |
Definition at line 152 of file class.ilLPObjSettings.php.
References $DIC, $ilDB, $query, $res, getMode(), getObjType(), and getVisits().
|
protected |
Definition at line 258 of file class.ilLPObjSettings.php.
References ilLPStatusWrapper\_refreshStatus(), and getObjId().
Referenced by insert(), and update().
|
static |
Definition at line 365 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), and ilLPStatusFactory\_getInstance().
ilLPObjSettings::getMode | ( | ) |
Definition at line 184 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings(), ilCertificateSettingsCourseFormRepository\createForm(), insert(), and update().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 189 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by doLPRefresh(), insert(), and update().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 194 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings(), and insert().
ilLPObjSettings::getVisits | ( | ) |
Definition at line 169 of file class.ilLPObjSettings.php.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::insert | ( | ) |
Definition at line 237 of file class.ilLPObjSettings.php.
References $DIC, $ilDB, $query, $res, __read(), doLPRefresh(), getMode(), getObjId(), getObjType(), and getVisits().
Referenced by update().
ilLPObjSettings::setMode | ( | $a_mode | ) |
Definition at line 179 of file class.ilLPObjSettings.php.
Referenced by ilLearningSequenceImporter\buildLPSettings(), ilObjSessionGUI\createRecurringSessions(), and ilObjSessionGUI\saveObject().
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 174 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | $a_refresh_lp = true | ) |
Definition at line 215 of file class.ilLPObjSettings.php.
References $DIC, $ilDB, $query, $res, __read(), doLPRefresh(), getMode(), getObjId(), getVisits(), and insert().
ilLPObjSettings::$db = null |
Definition at line 16 of file class.ilLPObjSettings.php.
ilLPObjSettings::$is_stored = false |
Definition at line 23 of file class.ilLPObjSettings.php.
|
staticprotected |
Definition at line 52 of file class.ilLPObjSettings.php.
ilLPObjSettings::$obj_id = null |
Definition at line 18 of file class.ilLPObjSettings.php.
Referenced by getObjId().
ilLPObjSettings::$obj_mode = null |
Definition at line 20 of file class.ilLPObjSettings.php.
Referenced by getMode().
ilLPObjSettings::$obj_type = null |
Definition at line 19 of file class.ilLPObjSettings.php.
Referenced by getObjType().
ilLPObjSettings::$visits = null |
Definition at line 21 of file class.ilLPObjSettings.php.
const ilLPObjSettings::LP_DEFAULT_VISITS = 30 |
Definition at line 50 of file class.ilLPObjSettings.php.
const ilLPObjSettings::LP_MODE_COLLECTION = 5 |
Definition at line 30 of file class.ilLPObjSettings.php.
Referenced by ilLPCollection\getCollectionModes(), ilLPCollection\getInstanceByMode(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilTrSummaryTableGUI\getItems(), ilLSLP\getValidModes(), ilFolderLP\getValidModes(), ilGroupLP\getValidModes(), ilCourseLP\getValidModes(), ilCourseAppEventListener\handleEvent(), ilLPCollectionSettingsTableGUI\initTable(), and ilLPCollectionSettingsTableGUI\parse().
const ilLPObjSettings::LP_MODE_COLLECTION_MANUAL = 16 |
Definition at line 41 of file class.ilLPObjSettings.php.
Referenced by ilLMExplorerGUI\checkLPIcon(), ilLearningProgressGUI\editManual(), ilLPCollectionSettingsTableGUI\fillRow(), ilLPCollection\getCollectionModes(), ilLPCollection\getInstanceByMode(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilLPProgressTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilTrQuery\getObjectIds(), ilLearningModuleLP\getValidModes(), ilLearningProgressGUI\initCollectionManualForm(), ilLPCollectionSettingsTableGUI\initTable(), ilObjContentObjectGUI\setilLMMenu(), and ilLearningProgressGUI\updateManual().
const ilLPObjSettings::LP_MODE_COLLECTION_MOBS = 21 |
Definition at line 46 of file class.ilLPObjSettings.php.
Referenced by ilLPCollection\getCollectionModes(), ilLPCollection\getInstanceByMode(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilMediaCastLP\getValidModes(), and ilLPCollectionSettingsTableGUI\initTable().
const ilLPObjSettings::LP_MODE_COLLECTION_TLT = 15 |
Definition at line 40 of file class.ilLPObjSettings.php.
Referenced by ilLMExplorerGUI\checkLPIcon(), ilLPCollectionSettingsTableGUI\fillRow(), ilLPCollection\getCollectionModes(), ilLPCollection\getInstanceByMode(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilLPCollectionOfLMChapters\getTableGUIData(), ilLearningModuleLP\getValidModes(), ilLPCollectionSettingsTableGUI\initTable(), ilLMObject\MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilObjContentObjectGUI\setilLMMenu(), and ilLearningProgressGUI\showtlt().
const ilLPObjSettings::LP_MODE_CONTENT_VISITED = 20 |
Definition at line 45 of file class.ilLPObjSettings.php.
Referenced by ilFileLP\getDefaultModes(), ilContentPageLP\getValidModes(), and ilFileLP\getValidModes().
const ilLPObjSettings::LP_MODE_DEACTIVATED = 0 |
Definition at line 25 of file class.ilLPObjSettings.php.
Referenced by ilLPStatus\checkLPModesForObjects(), ilCertificateSettingsCourseFormRepository\createForm(), ilObjSessionGUI\createRecurringSessions(), ilCertificateCourseLearningProgressEvaluation\evaluate(), ilLPCollectionSettingsTableGUI\fillRow(), ilObjectLP\getCurrentMode(), ilLSLP\getDefaultMode(), ilFileLP\getDefaultMode(), ilSurveyLP\getDefaultMode(), ilMediaCastLP\getDefaultMode(), ilFolderLP\getDefaultMode(), ilScormLP\getDefaultMode(), ilGroupLP\getDefaultMode(), ilLSLP\getDefaultModes(), ilMediaCastLP\getDefaultModes(), ilFileLP\getDefaultModes(), ilSurveyLP\getDefaultModes(), ilCourseLP\getDefaultModes(), ilHTMLLearningModuleLP\getDefaultModes(), ilSessionLP\getDefaultModes(), ilLearningModuleLP\getDefaultModes(), ilFolderLP\getDefaultModes(), ilExerciseLP\getDefaultModes(), ilGroupLP\getDefaultModes(), ilStudyProgrammeLP\getDefaultModes(), ilTestLP\getDefaultModes(), ilScormLP\getDefaultModes(), ilCertificateGUI\getEditorForm(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilTimingsUser\getObjectsWithInactiveLP(), ilContentPageLP\getValidModes(), ilIndividualAssessmentLP\getValidModes(), ilLSLP\getValidModes(), ilFolderLP\getValidModes(), ilSurveyLP\getValidModes(), ilMediaCastLP\getValidModes(), ilSessionLP\getValidModes(), ilFileLP\getValidModes(), ilExerciseLP\getValidModes(), ilStudyProgrammeLP\getValidModes(), ilTestLP\getValidModes(), ilScormLP\getValidModes(), ilHTMLLearningModuleLP\getValidModes(), ilGroupLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilCourseLP\getValidModes(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilObjectLP\isActive(), ilObjUserTrackingGUI\saveLPDefaultsObject(), and ilObjSessionGUI\saveObject().
const ilLPObjSettings::LP_MODE_EVENT = 10 |
Definition at line 35 of file class.ilLPObjSettings.php.
Referenced by ilSessionLP\getDefaultMode(), ilSessionLP\getDefaultModes(), and ilSessionLP\getValidModes().
const ilLPObjSettings::LP_MODE_EXERCISE_RETURNED = 9 |
Definition at line 34 of file class.ilLPObjSettings.php.
Referenced by ilExerciseLP\getDefaultMode(), ilExerciseLP\getDefaultModes(), and ilExerciseLP\getValidModes().
const ilLPObjSettings::LP_MODE_INDIVIDUAL_ASSESSMENT = 23 |
Definition at line 48 of file class.ilLPObjSettings.php.
Referenced by ilIndividualAssessmentLP\getDefaultMode(), and ilIndividualAssessmentLP\getValidModes().
const ilLPObjSettings::LP_MODE_MANUAL = 3 |
Definition at line 28 of file class.ilLPObjSettings.php.
Referenced by ilContentPageKioskModeView\builtLearningProgressToggleControl(), ilHTMLLearningModuleLP\getDefaultMode(), ilLearningModuleLP\getDefaultMode(), ilHTMLLearningModuleLP\getDefaultModes(), ilLearningModuleLP\getDefaultModes(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilContentPageLP\getValidModes(), ilHTMLLearningModuleLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilLearningProgressBaseGUI\initEditUserForm(), ilInfoScreenGUI\showLearningProgress(), ilTrackingTest\testLPMarks(), and ilContentPageKioskModeView\toggleLearningProgress().
const ilLPObjSettings::LP_MODE_MANUAL_BY_TUTOR = 11 |
Definition at line 36 of file class.ilLPObjSettings.php.
Referenced by ilCourseLP\getDefaultMode(), ilCourseLP\getDefaultModes(), ilGroupLP\getDefaultModes(), ilLPCollection\getInstanceByMode(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilTrSummaryTableGUI\getItems(), ilGroupLP\getValidModes(), ilCourseLP\getValidModes(), ilCourseAppEventListener\handleEvent(), ilLearningProgressBaseGUI\initEditUserForm(), ilLPCollectionSettingsTableGUI\initTable(), ilLPListOfSettingsGUI\saveSettings(), and ilObjCourseGUI\updateLPFromStatus().
const ilLPObjSettings::LP_MODE_OBJECTIVES = 4 |
Definition at line 29 of file class.ilLPObjSettings.php.
Referenced by ilLPCollection\getCollectionModes(), ilCourseLP\getCurrentMode(), ilCourseLP\getDefaultMode(), ilLPCollection\getInstanceByMode(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilTrQuery\getObjectsStatusForUser(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesStatus(), ilCourseLP\getValidModes(), ilCourseAppEventListener\handleEvent(), and ilPortfolioPageGUI\parseObjectives().
const ilLPObjSettings::LP_MODE_PLUGIN = 14 |
Definition at line 39 of file class.ilLPObjSettings.php.
Referenced by ilPluginLP\getCurrentMode(), and ilPluginLP\getValidModes().
const ilLPObjSettings::LP_MODE_QUESTIONS = 17 |
Definition at line 42 of file class.ilLPObjSettings.php.
Referenced by ilLearningModuleLP\getDefaultModes(), and ilLearningModuleLP\getValidModes().
const ilLPObjSettings::LP_MODE_SCORM = 6 |
Definition at line 31 of file class.ilLPObjSettings.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilLPProgressTableGUI\__construct(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLPProgressTableGUI\fillRow(), ilLPCollection\getCollectionModes(), ilScormLP\getCurrentMode(), ilLPCollection\getInstanceByMode(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilScormLP\getValidModes(), ilLPCollectionSettingsTableGUI\initTable(), ilLPTableBaseGUI\isPercentageAvailable(), and ilObjSCORMLearningModule\setLearningProgressSettingsAtUpload().
const ilLPObjSettings::LP_MODE_SCORM_PACKAGE = 12 |
Definition at line 37 of file class.ilLPObjSettings.php.
Referenced by ilScormLP\getDefaultModes(), and ilScormLP\getValidModes().
const ilLPObjSettings::LP_MODE_STUDY_PROGRAMME = 22 |
Definition at line 47 of file class.ilLPObjSettings.php.
Referenced by ilStudyProgrammeLP\getDefaultMode(), and ilStudyProgrammeLP\getValidModes().
const ilLPObjSettings::LP_MODE_SURVEY_FINISHED = 18 |
Definition at line 43 of file class.ilLPObjSettings.php.
Referenced by ilSurveyLP\getDefaultModes(), ilTrQuery\getParticipantsForObject(), and ilSurveyLP\getValidModes().
const ilLPObjSettings::LP_MODE_TEST_FINISHED = 7 |
Definition at line 32 of file class.ilLPObjSettings.php.
Referenced by ilTestLP\getDefaultModes(), ilTrQuery\getParticipantsForObject(), and ilTestLP\getValidModes().
const ilLPObjSettings::LP_MODE_TEST_PASSED = 8 |
Definition at line 33 of file class.ilLPObjSettings.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilTestLP\getDefaultMode(), ilTestLP\getDefaultModes(), ilTestLP\getValidModes(), and ilLPTableBaseGUI\isPercentageAvailable().
const ilLPObjSettings::LP_MODE_TLT = 1 |
Definition at line 26 of file class.ilLPObjSettings.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningModuleLP\getValidModes(), ilLPTableBaseGUI\isPercentageAvailable(), ilLMObject\MDUpdateListener(), and ilObjContentObject\MDUpdateListener().
const ilLPObjSettings::LP_MODE_UNDEFINED = 13 |
Definition at line 38 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLPStatus\checkLPModesForObjects(), ilLPCollectionSettingsTableGUI\fillRow(), ilPluginLP\getCurrentMode(), ilPluginLP\getDefaultMode(), ilObjectLP\getDefaultMode(), ilObjectLP\getDefaultModes(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilTimingsUser\getObjectsWithInactiveLP(), ilTrQuery\getSubTree(), ilPluginLP\getValidModes(), and ilObjectLP\isActive().
const ilLPObjSettings::LP_MODE_VISITED_PAGES = 19 |
Definition at line 44 of file class.ilLPObjSettings.php.
Referenced by ilLearningModuleLP\getDefaultModes(), ilLearningModuleLP\getValidModes(), and ilLPTableBaseGUI\isPercentageAvailable().
const ilLPObjSettings::LP_MODE_VISITS = 2 |
Definition at line 27 of file class.ilLPObjSettings.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilCertificateSettingsCourseFormRepository\getInvalidLPModes(), ilLearningModuleLP\getValidModes(), ilLPListOfSettingsGUI\initFormSettings(), ilLPTableBaseGUI\isPercentageAvailable(), and ilLPListOfSettingsGUI\saveSettings().