ILIAS
Release_4_4_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_DEFAULT_VISITS = 30 |
Protected Member Functions | |
doLPRefresh () |
Definition at line 14 of file class.ilLPObjSettings.php.
ilLPObjSettings::__read | ( | ) |
Definition at line 114 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 228 of file class.ilLPObjSettings.php.
Referenced by ilObjectLP\getCurrentMode().
|
static |
Definition at line 209 of file class.ilLPObjSettings.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLPStatus\preloadListGUIData().
ilLPObjSettings::_lookupVisits | ( | $a_obj_id | ) |
Definition at line 194 of file class.ilLPObjSettings.php.
References $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 300 of file class.ilLPObjSettings.php.
References $lng, and ilObjUserTracking\_getValidTimeSpan().
Referenced by ilObjectLP\getModeInfoText().
|
static |
Definition at line 244 of file class.ilLPObjSettings.php.
References $lng.
Referenced by ilLPProgressTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowExcel(), and ilObjectLP\getModeText().
ilLPObjSettings::cloneSettings | ( | $a_new_obj_id | ) |
Clone settings.
public
int | new obj id |
Definition at line 69 of file class.ilLPObjSettings.php.
References $query, $res, getMode(), getObjType(), and getVisits().
|
protected |
Definition at line 174 of file class.ilLPObjSettings.php.
References ilLPStatusWrapper\_refreshStatus(), and getObjId().
Referenced by insert(), and update().
ilLPObjSettings::getMode | ( | ) |
Definition at line 99 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 104 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by doLPRefresh(), insert(), and update().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 109 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings(), and insert().
ilLPObjSettings::getVisits | ( | ) |
Definition at line 84 of file class.ilLPObjSettings.php.
References LP_DEFAULT_VISITS.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::ilLPObjSettings | ( | $a_obj_id | ) |
Definition at line 45 of file class.ilLPObjSettings.php.
References __read(), and ilObjectLP\getInstance().
ilLPObjSettings::insert | ( | ) |
Definition at line 153 of file class.ilLPObjSettings.php.
References $ilLog, $query, $res, __read(), doLPRefresh(), getMode(), getObjId(), getObjType(), and getVisits().
Referenced by update().
ilLPObjSettings::setMode | ( | $a_mode | ) |
Definition at line 94 of file class.ilLPObjSettings.php.
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 89 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | $a_refresh_lp = true | ) |
Definition at line 131 of file class.ilLPObjSettings.php.
References $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 43 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(), ilLMExplorer\checkLPIcon(), 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(), ilLMExplorer\checkLPIcon(), 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(), ilLPCollectionSettingsTableGUI\fillRow(), ilGroupLP\getDefaultMode(), ilScormLP\getDefaultMode(), ilFolderLP\getDefaultMode(), ilTestLP\getValidModes(), ilFolderLP\getValidModes(), ilExerciseLP\getValidModes(), ilLearningModuleLP\getValidModes(), ilHTMLLearningModuleLP\getValidModes(), ilScormLP\getValidModes(), ilGroupLP\getValidModes(), ilCourseLP\getValidModes(), ilObjectLP\isActive(), and ilLPStatus\preloadListGUIData().
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 ilLearningProgressBaseGUI\__showEditUser(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilHTMLLearningModuleLP\getDefaultMode(), ilLearningModuleLP\getDefaultMode(), ilLearningModuleLP\getValidModes(), ilHTMLLearningModuleLP\getValidModes(), ilInfoScreenGUI\showLearningProgress(), and ilTrackingTest\testLPMarks().
const ilLPObjSettings::LP_MODE_MANUAL_BY_TUTOR = 11 |
Definition at line 36 of file class.ilLPObjSettings.php.
Referenced by ilLearningProgressBaseGUI\__showEditUser(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilObjectLP\getCollectionInstance(), ilCourseLP\getDefaultMode(), ilGroupLP\getValidModes(), ilCourseLP\getValidModes(), ilCourseAppEventListener\handleEvent(), ilLPCollectionSettingsTableGUI\initTable(), 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(), ilCourseLP\getCurrentMode(), ilCourseLP\getDefaultMode(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilTrQuery\getObjectsStatusForUser(), ilCourseLP\getValidModes(), ilCourseAppEventListener\handleEvent(), and ilLPTableBaseGUI\isPercentageAvailable().
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_SCORM = 6 |
Definition at line 31 of file class.ilLPObjSettings.php.
Referenced by ilLPProgressTableGUI\__construct(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLPCollectionSettingsTableGUI\fillRow(), ilLPProgressTableGUI\fillRow(), ilObjectLP\getCollectionInstance(), ilScormLP\getCurrentMode(), ilLPProgressTableGUI\getItems(), ilTrQuery\getObjectIds(), ilScormLP\getValidModes(), ilLPCollectionSettingsTableGUI\initTable(), and ilLPTableBaseGUI\isPercentageAvailable().
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 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\__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\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLearningModuleLP\getValidModes(), ilLPListOfSettingsGUI\initFormSettings(), ilLPTableBaseGUI\isPercentageAvailable(), and ilLPListOfSettingsGUI\saveSettings().