ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Public Member Functions | |
ilLPObjSettings ($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 () | |
_delete ($a_obj_id) | |
_lookupVisits ($a_obj_id) | |
Static Public Member Functions | |
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_DEFAULT_VISITS = 30 |
Protected Member Functions | |
doLPRefresh () | |
Static Protected Attributes | |
static | $map |
Definition at line 14 of file class.ilLPObjSettings.php.
ilLPObjSettings::__read | ( | ) |
Definition at line 191 of file class.ilLPObjSettings.php.
References $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLPObjSettings(), insert(), and update().
ilLPObjSettings::_delete | ( | $a_obj_id | ) |
|
static |
Definition at line 362 of file class.ilLPObjSettings.php.
References $ilDB.
Referenced by ilObject\delete().
|
static |
Definition at line 305 of file class.ilLPObjSettings.php.
References $ilDB, $query, and $row.
Referenced by ilObjectLP\getCurrentMode(), and ilSoapLearningProgressAdministration\getProgressInfo().
|
static |
Definition at line 286 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLPStatus\checkLPModesForObjects().
ilLPObjSettings::_lookupVisits | ( | $a_obj_id | ) |
Definition at line 271 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusVisits\_getStatusInfo(), and ilLPStatusVisits\determinePercentage().
|
static |
Definition at line 332 of file class.ilLPObjSettings.php.
References $info, $lng, and ilObjUserTracking\_getValidTimeSpan().
Referenced by ilObjectLP\getModeInfoText().
|
static |
Definition at line 321 of file class.ilLPObjSettings.php.
References $lng.
Referenced by ilLPProgressTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowExcel(), ilObjectLP\getModeText(), and ilConditionHandlerGUI\translateOperator().
ilLPObjSettings::cloneSettings | ( | $a_new_obj_id | ) |
Clone settings.
public
int | new obj id |
Definition at line 146 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, getMode(), getObjType(), and getVisits().
|
protected |
Definition at line 251 of file class.ilLPObjSettings.php.
References ilLPStatusWrapper\_refreshStatus(), and getObjId().
Referenced by insert(), and update().
|
static |
Definition at line 352 of file class.ilLPObjSettings.php.
References $res.
Referenced by ilLPStatusFactory\_getClassById(), and ilLPStatusFactory\_getInstance().
ilLPObjSettings::getMode | ( | ) |
Definition at line 176 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 181 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by doLPRefresh(), insert(), and update().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 186 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings(), and insert().
ilLPObjSettings::getVisits | ( | ) |
Definition at line 161 of file class.ilLPObjSettings.php.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::ilLPObjSettings | ( | $a_obj_id | ) |
Definition at line 122 of file class.ilLPObjSettings.php.
References $ilDB, __read(), and ilObjectLP\getInstance().
ilLPObjSettings::insert | ( | ) |
Definition at line 230 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 171 of file class.ilLPObjSettings.php.
Referenced by ilObjSessionGUI\createRecurringSessions(), and ilObjSessionGUI\saveObject().
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 166 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | $a_refresh_lp = true | ) |
Definition at line 208 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 51 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 49 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(), 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(), 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(), 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(), 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(), ilSurveyLP\getDefaultMode(), ilFileLP\getDefaultMode(), ilFolderLP\getDefaultMode(), ilMediaCastLP\getDefaultMode(), ilGroupLP\getDefaultMode(), ilScormLP\getDefaultMode(), ilSurveyLP\getValidModes(), ilGroupLP\getValidModes(), ilScormLP\getValidModes(), ilSessionLP\getValidModes(), ilHTMLLearningModuleLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilMediaCastLP\getValidModes(), ilFileLP\getValidModes(), ilFolderLP\getValidModes(), ilExerciseLP\getValidModes(), ilStudyProgrammeLP\getValidModes(), ilTestLP\getValidModes(), ilCourseLP\getValidModes(), ilObjectLP\isActive(), and ilObjSessionGUI\saveObject().
const ilLPObjSettings::LP_MODE_DOWNLOADED = 20 |
Definition at line 45 of file class.ilLPObjSettings.php.
Referenced by ilFileLP\getValidModes().
const ilLPObjSettings::LP_MODE_EVENT = 10 |
Definition at line 35 of file class.ilLPObjSettings.php.
Referenced by ilSessionLP\getDefaultMode(), and ilSessionLP\getValidModes().
const ilLPObjSettings::LP_MODE_EXERCISE_RETURNED = 9 |
Definition at line 34 of file class.ilLPObjSettings.php.
Referenced by ilExerciseLP\getDefaultMode(), and ilExerciseLP\getValidModes().
const ilLPObjSettings::LP_MODE_MANUAL = 3 |
Definition at line 28 of file class.ilLPObjSettings.php.
Referenced by ilHTMLLearningModuleLP\getDefaultMode(), ilLearningModuleLP\getDefaultMode(), 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(), ilLPCollection\getInstanceByMode(), 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\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(), 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\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 ilTrQuery\getParticipantsForObject(), and ilSurveyLP\getValidModes().
const ilLPObjSettings::LP_MODE_TEST_FINISHED = 7 |
Definition at line 32 of file class.ilLPObjSettings.php.
Referenced by 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\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(), 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\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(), ilLearningModuleLP\getValidModes(), ilLPListOfSettingsGUI\initFormSettings(), ilLPTableBaseGUI\isPercentageAvailable(), and ilLPListOfSettingsGUI\saveSettings().