ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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_DOWNLOADED = 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 $ilDB, __read(), and ilObjectLP\getInstance().
ilLPObjSettings::__read | ( | ) |
Definition at line 195 of file class.ilLPObjSettings.php.
References $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct(), insert(), and update().
|
static |
|
static |
Definition at line 366 of file class.ilLPObjSettings.php.
References $ilDB.
Referenced by ilObject\delete().
|
static |
Definition at line 309 of file class.ilLPObjSettings.php.
References $ilDB, $query, and $row.
Referenced by ilObjectLP\getCurrentMode(), and ilSoapLearningProgressAdministration\getProgressInfo().
|
static |
Definition at line 290 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLPStatus\checkLPModesForObjects().
|
static |
Definition at line 275 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusVisits\_getStatusInfo(), and ilLPStatusVisits\determinePercentage().
|
static |
Definition at line 336 of file class.ilLPObjSettings.php.
References $info, $lng, and ilObjUserTracking\_getValidTimeSpan().
Referenced by ilObjectLP\getModeInfoText().
|
static |
Definition at line 325 of file class.ilLPObjSettings.php.
References $lng.
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 150 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, getMode(), getObjType(), and getVisits().
|
protected |
Definition at line 255 of file class.ilLPObjSettings.php.
References ilLPStatusWrapper\_refreshStatus(), and getObjId().
Referenced by insert(), and update().
|
static |
Definition at line 356 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), and ilLPStatusFactory\_getInstance().
ilLPObjSettings::getMode | ( | ) |
Definition at line 180 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 185 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by doLPRefresh(), insert(), and update().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 190 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings(), and insert().
ilLPObjSettings::getVisits | ( | ) |
Definition at line 165 of file class.ilLPObjSettings.php.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::insert | ( | ) |
Definition at line 234 of file class.ilLPObjSettings.php.
References $ilDB, $ilLog, $query, $res, __read(), doLPRefresh(), getMode(), getObjId(), getObjType(), and getVisits().
Referenced by update().
ilLPObjSettings::setMode | ( | $a_mode | ) |
Definition at line 175 of file class.ilLPObjSettings.php.
Referenced by ilObjSessionGUI\createRecurringSessions(), and ilObjSessionGUI\saveObject().
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 170 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | $a_refresh_lp = true | ) |
Definition at line 212 of file class.ilLPObjSettings.php.
References $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(), ilTrSummaryTableGUI\getItems(), 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(), 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(), 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(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilLPCollectionOfLMChapters\getTableGUIData(), ilLearningModuleLP\getValidModes(), ilLPCollectionSettingsTableGUI\initTable(), ilLMObject\MDUpdateListener(), ilObjContentObject\MDUpdateListener(), ilObjContentObjectGUI\setilLMMenu(), and ilLearningProgressGUI\showtlt().
const ilLPObjSettings::LP_MODE_DEACTIVATED = 0 |
Definition at line 25 of file class.ilLPObjSettings.php.
Referenced by ilLPStatus\checkLPModesForObjects(), ilObjSessionGUI\createRecurringSessions(), ilLPCollectionSettingsTableGUI\fillRow(), ilObjectLP\getCurrentMode(), ilFileLP\getDefaultMode(), ilFolderLP\getDefaultMode(), ilSurveyLP\getDefaultMode(), ilMediaCastLP\getDefaultMode(), ilScormLP\getDefaultMode(), ilGroupLP\getDefaultMode(), ilMediaCastLP\getDefaultModes(), ilFileLP\getDefaultModes(), ilSurveyLP\getDefaultModes(), ilFolderLP\getDefaultModes(), ilLearningModuleLP\getDefaultModes(), ilExerciseLP\getDefaultModes(), ilScormLP\getDefaultModes(), ilGroupLP\getDefaultModes(), ilCourseLP\getDefaultModes(), ilSessionLP\getDefaultModes(), ilHTMLLearningModuleLP\getDefaultModes(), ilStudyProgrammeLP\getDefaultModes(), ilTestLP\getDefaultModes(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilIndividualAssessmentLP\getValidModes(), ilFileLP\getValidModes(), ilStudyProgrammeLP\getValidModes(), ilMediaCastLP\getValidModes(), ilFolderLP\getValidModes(), ilSurveyLP\getValidModes(), ilSessionLP\getValidModes(), ilExerciseLP\getValidModes(), ilScormLP\getValidModes(), ilTestLP\getValidModes(), ilGroupLP\getValidModes(), ilHTMLLearningModuleLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilCourseLP\getValidModes(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilObjectLP\isActive(), ilObjUserTrackingGUI\saveLPDefaultsObject(), and ilObjSessionGUI\saveObject().
const ilLPObjSettings::LP_MODE_DOWNLOADED = 20 |
Definition at line 45 of file class.ilLPObjSettings.php.
Referenced by ilFileLP\getDefaultModes(), and ilFileLP\getValidModes().
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 ilHTMLLearningModuleLP\getDefaultMode(), ilLearningModuleLP\getDefaultMode(), ilLearningModuleLP\getDefaultModes(), ilHTMLLearningModuleLP\getDefaultModes(), ilCourseLPBadgeGUI\getInvalidLPModes(), ilHTMLLearningModuleLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilLearningProgressBaseGUI\initEditUserForm(), ilInfoScreenGUI\saveProgress(), ilInfoScreenGUI\showLearningProgress(), and ilTrackingTest\testLPMarks().
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(), 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(), 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(), ilSoapLearningProgressAdministration\getProgressInfo(), 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(), ilLearningModuleLP\getValidModes(), ilLPListOfSettingsGUI\initFormSettings(), ilLPTableBaseGUI\isPercentageAvailable(), and ilLPListOfSettingsGUI\saveSettings().