ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
ilLPObjSettings ($a_obj_id) | |
cloneSettings ($a_new_obj_id) | |
Clone settings. | |
getVisits () | |
setVisits ($a_visits) | |
setMode ($a_mode) | |
getMode () | |
getObjId () | |
getObjType () | |
update () | |
insert () | |
_lookupVisits ($a_obj_id) | |
_isContainer ($a_mode) | |
_delete ($a_obj_id) | |
_lookupMode ($a_obj_id) | |
getValidModes () | |
_mode2Text ($a_mode) | |
_checkObjectives ($a_obj_id) | |
_checkSCORMPreconditions ($a_obj_id) | |
__read () | |
__getDefaultMode ($a_obj_id, $a_type) |
Static Public Member Functions | |
static | _mode2InfoText ($a_mode) |
get mode info text |
Data Fields | |
$db = null | |
$obj_id = null | |
$obj_type = null | |
$obj_mode = null | |
$visits = null | |
$is_stored = false |
Static Private Attributes | |
static | $mode_by_obj_id = array() |
Definition at line 53 of file class.ilLPObjSettings.php.
ilLPObjSettings::__getDefaultMode | ( | $a_obj_id, | |
$a_type | |||
) |
Definition at line 513 of file class.ilLPObjSettings.php.
References $ilDB, _checkObjectives(), LP_MODE_DEACTIVATED, LP_MODE_EVENT, LP_MODE_EXERCISE_RETURNED, LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, LP_MODE_TEST_PASSED, and LP_MODE_UNDEFINED.
Referenced by ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), _lookupMode(), ilTrQuery\getObjectsStatus(), ilTrQuery\getObjectsStatusForUser(), and ilLPObjSettings().
ilLPObjSettings::__read | ( | ) |
Definition at line 487 of file class.ilLPObjSettings.php.
References $res, $row, _checkObjectives(), _checkSCORMPreconditions(), DB_FETCHMODE_OBJECT, LP_MODE_OBJECTIVES, and LP_MODE_SCORM.
Referenced by ilLPObjSettings(), insert(), and update().
ilLPObjSettings::_checkObjectives | ( | $a_obj_id | ) |
Definition at line 452 of file class.ilLPObjSettings.php.
References $ilDB, ilObjCourse\_lookupViewMode(), and IL_CRS_VIEW_OBJECTIVE.
Referenced by __getDefaultMode(), __read(), _lookupMode(), and getValidModes().
ilLPObjSettings::_checkSCORMPreconditions | ( | $a_obj_id | ) |
Definition at line 469 of file class.ilLPObjSettings.php.
References ilConditionHandler\_getConditionsOfTrigger().
Referenced by __read(), _lookupMode(), and getValidModes().
ilLPObjSettings::_delete | ( | $a_obj_id | ) |
Definition at line 201 of file class.ilLPObjSettings.php.
References $ilDB, $query, and $res.
Referenced by ilTrackingTest\testLPObjectSettings().
ilLPObjSettings::_isContainer | ( | $a_mode | ) |
Definition at line 192 of file class.ilLPObjSettings.php.
References LP_MODE_COLLECTION, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, and LP_MODE_SCORM.
Referenced by ilPDFPresentation\__createObjectDetails(), and ilLPProgressTableGUI\fillRow().
ilLPObjSettings::_lookupMode | ( | $a_obj_id | ) |
Definition at line 211 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, __getDefaultMode(), _checkObjectives(), _checkSCORMPreconditions(), DB_FETCHMODE_OBJECT, LP_MODE_OBJECTIVES, and LP_MODE_SCORM.
Referenced by ilPDFPresentation\__createObjectDetails(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showEditUser(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLPCollections\_getItems(), ilCourseItems\_hasCollectionTimings(), ilTimingCache\_showWarning(), ilLearningProgressAccess\checkAccess(), ilTrQuery\getObjectIds(), ilTrObjectUsersPropsTableGUI\getSelectableColumns(), ilTrQuery\getSubTree(), ilTrUserObjectsPropsTableGUI\initFilter(), ilLPTableBaseGUI\isPercentageAvailable(), ilObjGroupGUI\membersObject(), ilObjCourseGUI\membersObject(), ilLPCollectionSettingsTableGUI\parseCollectionItem(), ilLPTableBaseGUI\parseTitle(), ilObjCourseGUI\printMembersObject(), ilLPTableBaseGUI\searchFilterListener(), and ilInfoScreenGUI\showLearningProgress().
ilLPObjSettings::_lookupVisits | ( | $a_obj_id | ) |
Definition at line 177 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 |
get mode info text
public
int | $mode |
Definition at line 400 of file class.ilLPObjSettings.php.
References $lng, LP_MODE_COLLECTION, LP_MODE_DEACTIVATED, LP_MODE_EVENT, LP_MODE_EXERCISE_RETURNED, LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, LP_MODE_SCORM, LP_MODE_SCORM_PACKAGE, LP_MODE_TEST_FINISHED, LP_MODE_TEST_PASSED, LP_MODE_TLT, and LP_MODE_VISITS.
Referenced by ilLPListOfSettingsGUI\initFormSettings().
ilLPObjSettings::_mode2Text | ( | $a_mode | ) |
Definition at line 343 of file class.ilLPObjSettings.php.
References $lng, LP_MODE_COLLECTION, LP_MODE_DEACTIVATED, LP_MODE_EVENT, LP_MODE_EXERCISE_RETURNED, LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, LP_MODE_SCORM, LP_MODE_SCORM_PACKAGE, LP_MODE_TEST_FINISHED, LP_MODE_TEST_PASSED, LP_MODE_TLT, and LP_MODE_VISITS.
Referenced by ilLearningProgressBaseGUI\__showEditUser(), ilLPProgressTableGUI\fillRow(), ilLPProgressTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowExcel(), ilLPCollectionSettingsTableGUI\parseCollectionItem(), and ilLPTableBaseGUI\parseTitle().
ilLPObjSettings::cloneSettings | ( | $a_new_obj_id | ) |
Clone settings.
public
int | new obj id |
Definition at line 88 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, getMode(), getObjType(), and getVisits().
ilLPObjSettings::getMode | ( | ) |
Definition at line 117 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 122 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by getValidModes(), insert(), and update().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 126 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings(), and insert().
ilLPObjSettings::getValidModes | ( | ) |
Definition at line 248 of file class.ilLPObjSettings.php.
References $lng, _checkObjectives(), _checkSCORMPreconditions(), ilLPCollections\_getCountPossibleSAHSItems(), ilObjSAHSLearningModule\_lookupSubType(), getObjId(), LP_MODE_COLLECTION, LP_MODE_DEACTIVATED, LP_MODE_EVENT, LP_MODE_EXERCISE_RETURNED, LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, LP_MODE_SCORM, LP_MODE_SCORM_PACKAGE, LP_MODE_TEST_FINISHED, LP_MODE_TEST_PASSED, LP_MODE_TLT, and LP_MODE_VISITS.
ilLPObjSettings::getVisits | ( | ) |
Definition at line 103 of file class.ilLPObjSettings.php.
References LP_DEFAULT_VISITS.
Referenced by cloneSettings(), and update().
ilLPObjSettings::ilLPObjSettings | ( | $a_obj_id | ) |
Definition at line 66 of file class.ilLPObjSettings.php.
References $ilDB, __getDefaultMode(), and __read().
ilLPObjSettings::insert | ( | ) |
Definition at line 152 of file class.ilLPObjSettings.php.
References $ilDB, $ilLog, $query, $res, __read(), ilLPStatusWrapper\_refreshStatus(), getMode(), getObjId(), and getObjType().
Referenced by update().
ilLPObjSettings::setMode | ( | $a_mode | ) |
Definition at line 113 of file class.ilLPObjSettings.php.
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 108 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | ) |
Definition at line 131 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, __read(), ilLPStatusWrapper\_refreshStatus(), getMode(), getObjId(), getVisits(), and insert().
ilLPObjSettings::$db = null |
Definition at line 55 of file class.ilLPObjSettings.php.
ilLPObjSettings::$is_stored = false |
Definition at line 62 of file class.ilLPObjSettings.php.
|
staticprivate |
Definition at line 64 of file class.ilLPObjSettings.php.
ilLPObjSettings::$obj_id = null |
Definition at line 57 of file class.ilLPObjSettings.php.
Referenced by getObjId().
ilLPObjSettings::$obj_mode = null |
Definition at line 59 of file class.ilLPObjSettings.php.
Referenced by getMode().
ilLPObjSettings::$obj_type = null |
Definition at line 58 of file class.ilLPObjSettings.php.
Referenced by getObjType().
ilLPObjSettings::$visits = null |
Definition at line 60 of file class.ilLPObjSettings.php.