ILIAS
Release_4_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 () | |
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 489 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, and LP_MODE_TEST_PASSED.
Referenced by _lookupMode(), and ilLPObjSettings().
ilLPObjSettings::__read | ( | ) |
Definition at line 463 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 428 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 445 of file class.ilLPObjSettings.php.
References ilConditionHandler\_getConditionsOfTrigger().
Referenced by __read(), _lookupMode(), and getValidModes().
ilLPObjSettings::_delete | ( | $a_obj_id | ) |
Definition at line 188 of file class.ilLPObjSettings.php.
References $ilDB, $query, and $res.
Referenced by ilTrackingTest\testLPObjectSettings().
ilLPObjSettings::_isContainer | ( | $a_mode | ) |
Definition at line 179 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 198 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(), 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 164 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, $row, 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 376 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 319 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 $ilDB, $query, $res, getMode(), getObjType(), and getVisits().
ilLPObjSettings::getMode | ( | ) |
Definition at line 114 of file class.ilLPObjSettings.php.
References $obj_mode.
Referenced by cloneSettings(), insert(), and update().
ilLPObjSettings::getObjId | ( | ) |
Definition at line 119 of file class.ilLPObjSettings.php.
References $obj_id.
Referenced by getValidModes(), insert(), and update().
ilLPObjSettings::getObjType | ( | ) |
Definition at line 123 of file class.ilLPObjSettings.php.
References $obj_type.
Referenced by cloneSettings(), and insert().
ilLPObjSettings::getValidModes | ( | ) |
Definition at line 224 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 100 of file class.ilLPObjSettings.php.
References LP_DEFAULT_VISITS.
Referenced by cloneSettings(), and update().
ilLPObjSettings::ilLPObjSettings | ( | $a_obj_id | ) |
Definition at line 63 of file class.ilLPObjSettings.php.
References $ilDB, __getDefaultMode(), and __read().
ilLPObjSettings::insert | ( | ) |
Definition at line 144 of file class.ilLPObjSettings.php.
References $ilDB, $ilLog, $query, $res, __read(), getMode(), getObjId(), and getObjType().
Referenced by update().
ilLPObjSettings::setMode | ( | $a_mode | ) |
Definition at line 110 of file class.ilLPObjSettings.php.
ilLPObjSettings::setVisits | ( | $a_visits | ) |
Definition at line 105 of file class.ilLPObjSettings.php.
ilLPObjSettings::update | ( | ) |
Definition at line 128 of file class.ilLPObjSettings.php.
References $ilDB, $query, $res, __read(), getMode(), getObjId(), getVisits(), 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.