ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
ilLPObjSettings ($a_obj_id) | |
cloneSettings ($a_new_obj_id) | |
Clone settings. | |
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) |
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_DEFAULT_VISITS = 30 |
Protected Member Functions | |
doLPRefresh () |
Definition at line 14 of file class.ilLPObjSettings.php.
ilLPObjSettings::__read | ( | ) |
Definition at line 116 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 230 of file class.ilLPObjSettings.php.
References $ilDB, $query, and $row.
Referenced by ilObjectLP\getCurrentMode().
|
static |
Definition at line 211 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLPStatus\preloadListGUIData().
ilLPObjSettings::_lookupVisits | ( | $a_obj_id | ) |
Definition at line 196 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and LP_DEFAULT_VISITS.
Referenced by ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusVisits\_getStatusInfo(), and ilLPStatusVisits\determinePercentage().
|
static |
Definition at line 305 of file class.ilLPObjSettings.php.
References $lng, and ilObjUserTracking\_getValidTimeSpan().
Referenced by ilObjectLP\getModeInfoText().
|
static |
Definition at line 246 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 71 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, getMode(), getObjType(), and getVisits().
|
protected |
Definition at line 176 of file class.ilLPObjSettings.php.
References ilLPStatusWrapper\_refreshStatus(), and getObjId().
Referenced by insert(), and update().
ilLPObjSettings::getMode | ( | ) |
Definition at line 101 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 106 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by doLPRefresh(), insert(), and update().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 111 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings(), and insert().
ilLPObjSettings::getVisits | ( | ) |
Definition at line 86 of file class.ilLPObjSettings.php.
References LP_DEFAULT_VISITS.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::ilLPObjSettings | ( | $a_obj_id | ) |
Definition at line 47 of file class.ilLPObjSettings.php.
References $ilDB, __read(), and ilObjectLP\getInstance().
ilLPObjSettings::insert | ( | ) |
Definition at line 155 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 96 of file class.ilLPObjSettings.php.
Referenced by ilObjSessionGUI\createRecurringSessions(), and ilObjSessionGUI\saveObject().
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 91 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | $a_refresh_lp = true | ) |
Definition at line 133 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.
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 45 of file class.ilLPObjSettings.php.
Referenced by _lookupVisits(), and getVisits().
const ilLPObjSettings::LP_MODE_COLLECTION = 5 |
Definition at line 30 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilObjectLP\getCollectionInstance(), 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 ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLMExplorerGUI\checkLPIcon(), ilLearningProgressGUI\editManual(), ilLPCollectionSettingsTableGUI\fillRow(), ilObjectLP\getCollectionInstance(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilLearningModuleLP\getValidModes(), ilLearningProgressGUI\initCollectionManualForm(), ilLPCollectionSettingsTableGUI\initTable(), ilObjContentObjectGUI\setilLMMenu(), and ilLearningProgressGUI\updateManual().
const ilLPObjSettings::LP_MODE_COLLECTION_TLT = 15 |
Definition at line 40 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLMExplorerGUI\checkLPIcon(), ilLPCollectionSettingsTableGUI\fillRow(), ilObjectLP\getCollectionInstance(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilLPCollectionOfLMChapters\getTableGUIData(), ilLearningModuleLP\getValidModes(), ilLPCollectionSettingsTableGUI\initTable(), ilObjContentObjectGUI\setilLMMenu(), and ilLearningProgressGUI\showtlt().
const ilLPObjSettings::LP_MODE_DEACTIVATED = 0 |
Definition at line 25 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilObjSessionGUI\createRecurringSessions(), ilLPCollectionSettingsTableGUI\fillRow(), ilScormLP\getDefaultMode(), ilGroupLP\getDefaultMode(), ilFolderLP\getDefaultMode(), ilTestLP\getValidModes(), ilGroupLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilFolderLP\getValidModes(), ilScormLP\getValidModes(), ilSessionLP\getValidModes(), ilHTMLLearningModuleLP\getValidModes(), ilExerciseLP\getValidModes(), ilCourseLP\getValidModes(), ilObjectLP\isActive(), ilLPStatus\preloadListGUIData(), and ilObjSessionGUI\saveObject().
const ilLPObjSettings::LP_MODE_EVENT = 10 |
Definition at line 35 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilSessionLP\getDefaultMode(), and ilSessionLP\getValidModes().
const ilLPObjSettings::LP_MODE_EXERCISE_RETURNED = 9 |
Definition at line 34 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilExerciseLP\getDefaultMode(), and ilExerciseLP\getValidModes().
const ilLPObjSettings::LP_MODE_MANUAL = 3 |
Definition at line 28 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilHTMLLearningModuleLP\getDefaultMode(), ilLearningModuleLP\getDefaultMode(), ilHTMLLearningModuleLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilLearningProgressBaseGUI\initEditUserForm(), ilInfoScreenGUI\showLearningProgress(), and ilTrackingTest\testLPMarks().
const ilLPObjSettings::LP_MODE_MANUAL_BY_TUTOR = 11 |
Definition at line 36 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilObjectLP\getCollectionInstance(), ilCourseLP\getDefaultMode(), 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 ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilObjectLP\getCollectionInstance(), ilPortfolioPageGUI\getCoursesOfUser(), ilCourseLP\getCurrentMode(), ilCourseLP\getDefaultMode(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilTrQuery\getObjectsStatusForUser(), ilCourseLP\getValidModes(), and ilCourseAppEventListener\handleEvent().
const ilLPObjSettings::LP_MODE_PLUGIN = 14 |
Definition at line 39 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilPluginLP\getCurrentMode(), and ilPluginLP\getValidModes().
const ilLPObjSettings::LP_MODE_QUESTIONS = 17 |
Definition at line 42 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), 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(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLPCollectionSettingsTableGUI\fillRow(), ilLPProgressTableGUI\fillRow(), ilObjectLP\getCollectionInstance(), ilScormLP\getCurrentMode(), 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 ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), and ilScormLP\getValidModes().
const ilLPObjSettings::LP_MODE_TEST_FINISHED = 7 |
Definition at line 32 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), 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(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), 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(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLearningModuleLP\getValidModes(), and ilLPTableBaseGUI\isPercentageAvailable().
const ilLPObjSettings::LP_MODE_UNDEFINED = 13 |
Definition at line 38 of file class.ilLPObjSettings.php.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLPCollectionSettingsTableGUI\fillRow(), ilPluginLP\getCurrentMode(), ilPluginLP\getDefaultMode(), ilObjectLP\getDefaultMode(), ilTrQuery\getSubTree(), ilPluginLP\getValidModes(), ilObjectLP\isActive(), and ilLPStatus\preloadListGUIData().
const ilLPObjSettings::LP_MODE_VISITS = 2 |
Definition at line 27 of file class.ilLPObjSettings.php.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLearningModuleLP\getValidModes(), ilLPListOfSettingsGUI\initFormSettings(), ilLPTableBaseGUI\isPercentageAvailable(), and ilLPListOfSettingsGUI\saveSettings().