ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
class ilcourseobjective More...
Public Member Functions | |
__construct ($course_obj, $a_objective_id=0) | |
Constructor. More... | |
getCourse () | |
ilClone ($a_target_id, $a_copy_id) | |
clone objectives More... | |
setActive ($a_stat) | |
isActive () | |
setPasses ($a_passes) | |
getPasses () | |
arePassesLimited () | |
setTitle ($a_title) | |
getTitle () | |
setDescription ($a_description) | |
getDescription () | |
setObjectiveId ($a_objective_id) | |
getObjectiveId () | |
setPosition ($a_pos) | |
add () | |
update () | |
writePosition ($a_position) | |
write position More... | |
validate () | |
validate More... | |
delete () | |
moveUp () | |
moveDown () | |
__setPosition ($a_position) | |
__getPosition () | |
__setCreated ($a_created) | |
__getCreated () | |
__read () | |
__getOrderColumn () | |
__updateTop () | |
__getLastPosition () | |
toXml (ilXmlWriter $writer) | |
write objective xml More... | |
Static Public Member Functions | |
static | _lookupContainerIdByObjectiveId ($a_objective_id) |
Get container of object. More... | |
static | _getCountObjectives ($a_obj_id, $a_activated_only=false) |
get count objectives More... | |
static | lookupMaxPasses ($a_objective_id) |
static | lookupObjectiveTitle ($a_objective_id, $a_add_description=false) |
static | _getObjectiveIds ($course_id, $a_activated_only=false) |
static | _deleteAll ($course_id) |
Data Fields | |
$db = null | |
$course_obj = null | |
$objective_id = null | |
Protected Attributes | |
$active = true | |
$passes = 0 | |
ilCourseObjective::__construct | ( | $course_obj, | |
$a_objective_id = 0 |
|||
) |
Constructor.
ilObject | $course_obj | |
int | $a_objective_id |
Definition at line 30 of file class.ilCourseObjective.php.
References $course_obj, $DIC, $ilDB, and __read().
ilCourseObjective::__getCreated | ( | ) |
Definition at line 450 of file class.ilCourseObjective.php.
ilCourseObjective::__getLastPosition | ( | ) |
Definition at line 515 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by add(), and moveDown().
ilCourseObjective::__getOrderColumn | ( | ) |
Definition at line 485 of file class.ilCourseObjective.php.
References ilContainer\SORT_ACTIVATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
ilCourseObjective::__getPosition | ( | ) |
Definition at line 442 of file class.ilCourseObjective.php.
Referenced by __updateTop(), moveDown(), and moveUp().
ilCourseObjective::__read | ( | ) |
Definition at line 456 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, $row, __setCreated(), __setPosition(), ilDBConstants\FETCHMODE_OBJECT, getObjectiveId(), setActive(), setDescription(), setObjectiveId(), setPasses(), and setTitle().
Referenced by __construct(), moveDown(), and moveUp().
ilCourseObjective::__setCreated | ( | $a_created | ) |
Definition at line 446 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::__setPosition | ( | $a_position | ) |
Definition at line 438 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::__updateTop | ( | ) |
Definition at line 500 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, and __getPosition().
|
static |
Definition at line 559 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $in, $query, $res, _getObjectiveIds(), and ilLPStatusWrapper\_refreshStatus().
Referenced by ilObjCourse\delete().
|
static |
get count objectives
public
int | obj_id |
Definition at line 85 of file class.ilCourseObjective.php.
References _getObjectiveIds().
Referenced by ilLOEditorStatus\getObjectivesStatus(), and ilObjCourseGUI\getTabs().
|
static |
Definition at line 533 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOEditorStatus\__construct(), _deleteAll(), ilCourseObjectiveResult\_getAccomplished(), _getCountObjectives(), ilLPStatusObjectives\_getStatusInfo(), ilCourseObjectiveResult\_getSuggested(), ilLOEditorGUI\activateObjectives(), ilContainerObjectiveGUI\buildObjectiveMap(), ilLOEditorGUI\deactivateObjectives(), ilLPStatusObjectives\determineStatus(), ilLOEditorStatus\getObjectivesStatus(), ilTrQuery\getObjectsDataForUser(), ilCourseObjectiveResult\getStatus(), ilTrQuery\getUserObjectiveMatrix(), ilCourseExporter\getXmlExportTailDependencies(), ilLOTestAssignmentForm\initForm(), ilCourseObjectivesGUI\listObjectives(), ilLOEditorGUI\listObjectives(), ilLOTestQuestionAdapter\lookupRelevantObjectiveIdsForTest(), ilLOMemberTestResultTableGUI\parse(), ilCourseObjectivesGUI\questionOverview(), ilLPCollectionOfObjectives\read(), ilCourseObjectiveResult\readStatus(), ilObjCourseGUI\redirectLocToTestObject(), ilCourseObjectiveResult\reset(), ilContainerObjectiveGUI\showObjectives(), ilLOEditorGUI\updateMaterialAssignments(), and ilLOXmlWriter\write().
|
static |
Get container of object.
public
int | objective id |
Definition at line 61 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseObjectiveMaterials\__read(), ilCourseObjectiveQuestion\__read(), and ilObjMediaObjectAccess\checkAccessLearningObjectivePage().
ilCourseObjective::add | ( | ) |
Definition at line 266 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, __getLastPosition(), ilLPStatusWrapper\_refreshStatus(), getDescription(), getPasses(), getTitle(), and isActive().
ilCourseObjective::arePassesLimited | ( | ) |
Definition at line 228 of file class.ilCourseObjective.php.
ilCourseObjective::delete | ( | ) |
Definition at line 346 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, ilLPStatusWrapper\_refreshStatus(), and getObjectiveId().
ilCourseObjective::getCourse | ( | ) |
Definition at line 48 of file class.ilCourseObjective.php.
References $course_obj.
Referenced by ilClone().
ilCourseObjective::getDescription | ( | ) |
Definition at line 246 of file class.ilCourseObjective.php.
References $description.
Referenced by add(), ilContainerObjectiveGUI\buildAccordionTitle(), toXml(), and update().
ilCourseObjective::getObjectiveId | ( | ) |
Definition at line 254 of file class.ilCourseObjective.php.
References $objective_id.
Referenced by __read(), ilContainerObjectiveGUI\buildAccordionTitle(), delete(), moveDown(), moveUp(), toXml(), update(), and writePosition().
ilCourseObjective::getPasses | ( | ) |
Definition at line 223 of file class.ilCourseObjective.php.
References $passes.
Referenced by add(), and update().
ilCourseObjective::getTitle | ( | ) |
Definition at line 238 of file class.ilCourseObjective.php.
References $title.
Referenced by add(), ilContainerObjectiveGUI\buildAccordionTitle(), toXml(), update(), and validate().
ilCourseObjective::ilClone | ( | $a_target_id, | |
$a_copy_id | |||
) |
clone objectives
public
int | target id |
int | copy id |
Definition at line 133 of file class.ilCourseObjective.php.
References $DIC, $ilLog, $objective_id, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getCourse(), ilLOTestAssignments\getInstance(), ilObjectFactory\getInstanceByRefId(), ilLoggerFactory\getLogger(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
ilCourseObjective::isActive | ( | ) |
|
static |
Definition at line 90 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\addItemDetails(), and ilLOEditorStatus\checkNumberOfTries().
|
static |
Definition at line 105 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, and $row.
Referenced by ilContainerObjectiveGUI\buildObjectiveMap(), ilLOEditorGUI\executeCommand(), ilTrMatrixTableGUI\getItems(), ilTestResultHeaderLabelBuilder\getObjectiveTitle(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesStatus(), ilLOTestAssignmentForm\initForm(), ilTestQuestionRelatedObjectivesList\loadObjectivesTitles(), ilLOMemberTestResultTableGUI\parse(), ilLOTestAssignmentTableGUI\parse(), ilPortfolioPageGUI\parseObjectives(), and ilContainerObjectiveGUI\renderTest().
ilCourseObjective::moveDown | ( | ) |
Definition at line 406 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, __getLastPosition(), __getPosition(), __read(), and getObjectiveId().
ilCourseObjective::moveUp | ( | ) |
Definition at line 375 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, __getPosition(), __read(), and getObjectiveId().
ilCourseObjective::setActive | ( | $a_stat | ) |
Definition at line 208 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::setDescription | ( | $a_description | ) |
Definition at line 242 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::setObjectiveId | ( | $a_objective_id | ) |
Definition at line 250 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::setPasses | ( | $a_passes | ) |
Definition at line 218 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::setPosition | ( | $a_pos | ) |
Definition at line 260 of file class.ilCourseObjective.php.
ilCourseObjective::setTitle | ( | $a_title | ) |
Definition at line 234 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::toXml | ( | ilXmlWriter | $writer | ) |
write objective xml
ilXmlWriter | $writer |
Definition at line 599 of file class.ilCourseObjective.php.
References $test, getDescription(), ilLOTestAssignments\getInstance(), getObjectiveId(), getTitle(), isActive(), ilLORandomTestQuestionPools\toXml(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
ilCourseObjective::update | ( | ) |
Definition at line 295 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, getDescription(), getObjectiveId(), getPasses(), getTitle(), and isActive().
ilCourseObjective::validate | ( | ) |
validate
public
Definition at line 341 of file class.ilCourseObjective.php.
References getTitle().
ilCourseObjective::writePosition | ( | $a_position | ) |
write position
public
int | new position |
Definition at line 322 of file class.ilCourseObjective.php.
References $DIC, $ilDB, $query, $res, and getObjectiveId().
|
protected |
Definition at line 21 of file class.ilCourseObjective.php.
Referenced by isActive().
ilCourseObjective::$course_obj = null |
Definition at line 17 of file class.ilCourseObjective.php.
Referenced by __construct(), and getCourse().
ilCourseObjective::$db = null |
Definition at line 15 of file class.ilCourseObjective.php.
ilCourseObjective::$objective_id = null |
Definition at line 18 of file class.ilCourseObjective.php.
Referenced by getObjectiveId(), and ilClone().
|
protected |
Definition at line 22 of file class.ilCourseObjective.php.
Referenced by getPasses().