ILIAS
Release_3_10_x_branch Revision 61812
|
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 |
Definition at line 52 of file class.ilLPObjSettings.php.
ilLPObjSettings::__getDefaultMode | ( | $a_obj_id, | |
$a_type | |||
) |
Definition at line 473 of file class.ilLPObjSettings.php.
References _checkObjectives(), LP_MODE_DEACTIVATED, LP_MODE_EVENT, LP_MODE_EXERCISE_RETURNED, LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, and LP_MODE_TEST_PASSED.
Referenced by _lookupMode(), and ilLPObjSettings().
ilLPObjSettings::__read | ( | ) |
Definition at line 448 of file class.ilLPObjSettings.php.
References $res, _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 413 of file class.ilLPObjSettings.php.
References ilObjCourse\_lookupViewMode(), and IL_CRS_VIEW_OBJECTIVE.
Referenced by __getDefaultMode(), __read(), _lookupMode(), and getValidModes().
ilLPObjSettings::_checkSCORMPreconditions | ( | $a_obj_id | ) |
Definition at line 430 of file class.ilLPObjSettings.php.
References ilConditionHandler\_getConditionsOfTrigger().
Referenced by __read(), _lookupMode(), and getValidModes().
ilLPObjSettings::_delete | ( | $a_obj_id | ) |
Definition at line 177 of file class.ilLPObjSettings.php.
ilLPObjSettings::_isContainer | ( | $a_mode | ) |
Definition at line 168 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(), ilLPListOfObjectsGUI\__renderContainerRow(), ilLPListOfProgressGUI\__renderContainerRow(), and ilLPListOfProgressGUI\details().
ilLPObjSettings::_lookupMode | ( | $a_obj_id | ) |
Definition at line 187 of file class.ilLPObjSettings.php.
References $res, __getDefaultMode(), _checkObjectives(), _checkSCORMPreconditions(), DB_FETCHMODE_OBJECT, LP_MODE_OBJECTIVES, and LP_MODE_SCORM.
Referenced by ilPDFPresentation\__createObjectDetails(), ilLPFilter\__getAllObjects(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLPItemListGUI\__readMode(), ilLPListOfSettingsGUI\__showCollectionTable(), ilLPListOfObjectsGUI\__showEditUser(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPStatusFactory\_getClassById(), ilLPStatusFactory\_getInstance(), ilLPCollections\_getItems(), ilCourseItems\_hasCollectionTimings(), ilLearningProgressAccess\checkAccess(), ilObjGroupGUI\membersObject(), ilObjCourseGUI\membersObject(), ilObjCourseGUI\printMembersObject(), ilLPFilter\searchFilterListener(), and ilInfoScreenGUI\showLearningProgress().
ilLPObjSettings::_lookupVisits | ( | $a_obj_id | ) |
Definition at line 151 of file class.ilLPObjSettings.php.
References $res, DB_FETCHMODE_OBJECT, and LP_DEFAULT_VISITS.
Referenced by ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLearningProgressBaseGUI\__showObjectDetails(), and ilLPStatusVisits\_getStatusInfo().
|
static |
get mode info text
public
int | $mode |
Definition at line 361 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\showModeSelection().
ilLPObjSettings::_mode2Text | ( | $a_mode | ) |
Definition at line 304 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\__showCollectionTable(), ilLearningProgressBaseGUI\__showObjectDetails(), ilLPItemListGUI\renderObjectInfo(), and ilLPItemListGUI\renderObjectInfoXML().
ilLPObjSettings::cloneSettings | ( | $a_new_obj_id | ) |
Clone settings.
public
int | new obj id |
Definition at line 85 of file class.ilLPObjSettings.php.
References getMode(), getObjType(), and getVisits().
ilLPObjSettings::getMode | ( | ) |
Definition at line 111 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 116 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by getValidModes().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 120 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings().
ilLPObjSettings::getValidModes | ( | ) |
Definition at line 213 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 97 of file class.ilLPObjSettings.php.
References LP_DEFAULT_VISITS.
Referenced by cloneSettings().
ilLPObjSettings::ilLPObjSettings | ( | $a_obj_id | ) |
Definition at line 63 of file class.ilLPObjSettings.php.
References __getDefaultMode(), and __read().
ilLPObjSettings::insert | ( | ) |
Definition at line 139 of file class.ilLPObjSettings.php.
References __read().
Referenced by update().
ilLPObjSettings::setMode | ( | $a_mode | ) |
Definition at line 107 of file class.ilLPObjSettings.php.
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 102 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | ) |
Definition at line 125 of file class.ilLPObjSettings.php.
References __read(), and insert().
ilLPObjSettings::$db = null |
Definition at line 54 of file class.ilLPObjSettings.php.
ilLPObjSettings::$is_stored = false |
Definition at line 61 of file class.ilLPObjSettings.php.
ilLPObjSettings::$obj_id = null |
Definition at line 56 of file class.ilLPObjSettings.php.
Referenced by getObjId().
ilLPObjSettings::$obj_mode = null |
Definition at line 58 of file class.ilLPObjSettings.php.
Referenced by getMode().
ilLPObjSettings::$obj_type = null |
Definition at line 57 of file class.ilLPObjSettings.php.
Referenced by getObjType().
ilLPObjSettings::$visits = null |
Definition at line 59 of file class.ilLPObjSettings.php.