|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
class ilcourseobjective More...
Inheritance diagram for ilCourseObjective:
Collaboration diagram for ilCourseObjective: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, $ilDB, and __read().
Here is the call graph for this function:| ilCourseObjective::__getCreated | ( | ) |
Definition at line 442 of file class.ilCourseObjective.php.
| ilCourseObjective::__getLastPosition | ( | ) |
Definition at line 506 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by add(), and moveDown().
Here is the caller graph for this function:| ilCourseObjective::__getOrderColumn | ( | ) |
Definition at line 477 of file class.ilCourseObjective.php.
References ilContainer\SORT_ACTIVATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
| ilCourseObjective::__getPosition | ( | ) |
Definition at line 434 of file class.ilCourseObjective.php.
Referenced by __updateTop(), moveDown(), and moveUp().
Here is the caller graph for this function:| ilCourseObjective::__read | ( | ) |
Definition at line 448 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, __setCreated(), __setPosition(), ilDBConstants\FETCHMODE_OBJECT, getObjectiveId(), setActive(), setDescription(), setObjectiveId(), setPasses(), and setTitle().
Referenced by __construct(), moveDown(), and moveUp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjective::__setCreated | ( | $a_created | ) |
Definition at line 438 of file class.ilCourseObjective.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseObjective::__setPosition | ( | $a_position | ) |
Definition at line 430 of file class.ilCourseObjective.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseObjective::__updateTop | ( | ) |
Definition at line 493 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, and __getPosition().
Here is the call graph for this function:
|
static |
Definition at line 551 of file class.ilCourseObjective.php.
References $ilDB, $in, $query, $res, _getObjectiveIds(), and ilLPStatusWrapper\_refreshStatus().
Referenced by ilObjCourse\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get count objectives
@access public
| int | obj_id |
Definition at line 83 of file class.ilCourseObjective.php.
References _getObjectiveIds().
Referenced by ilLOEditorStatus\getObjectivesStatus(), and ilObjCourseGUI\getTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 523 of file class.ilCourseObjective.php.
References $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().
Here is the caller graph for this function:
|
static |
Get container of object.
@access public
| int | objective id |
Definition at line 60 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseObjectiveMaterials\__read(), ilCourseObjectiveQuestion\__read(), and ilObjMediaObjectAccess\checkAccessLearningObjectivePage().
Here is the caller graph for this function:| ilCourseObjective::add | ( | ) |
Definition at line 266 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, __getLastPosition(), ilLPStatusWrapper\_refreshStatus(), getDescription(), getPasses(), getTitle(), and isActive().
Here is the call graph for this function:| ilCourseObjective::arePassesLimited | ( | ) |
Definition at line 228 of file class.ilCourseObjective.php.
| ilCourseObjective::delete | ( | ) |
Definition at line 340 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, ilLPStatusWrapper\_refreshStatus(), and getObjectiveId().
Here is the call graph for this function:| ilCourseObjective::getCourse | ( | ) |
Definition at line 47 of file class.ilCourseObjective.php.
References $course_obj.
Referenced by ilClone().
Here is the caller graph for this function:| ilCourseObjective::getDescription | ( | ) |
Definition at line 246 of file class.ilCourseObjective.php.
Referenced by add(), ilContainerObjectiveGUI\buildAccordionTitle(), toXml(), and update().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilCourseObjective::getPasses | ( | ) |
Definition at line 223 of file class.ilCourseObjective.php.
References $passes.
Referenced by add(), and update().
Here is the caller graph for this function:| ilCourseObjective::getTitle | ( | ) |
Definition at line 238 of file class.ilCourseObjective.php.
References $title.
Referenced by add(), ilContainerObjectiveGUI\buildAccordionTitle(), toXml(), update(), and validate().
Here is the caller graph for this function:| ilCourseObjective::ilClone | ( | $a_target_id, | |
| $a_copy_id | |||
| ) |
clone objectives
@access public
| int | target id |
| int | copy id |
Definition at line 132 of file class.ilCourseObjective.php.
References $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.
Here is the call graph for this function:| ilCourseObjective::isActive | ( | ) |
|
static |
Definition at line 88 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\addItemDetails(), and ilLOEditorStatus\checkNumberOfTries().
Here is the caller graph for this function:
|
static |
Definition at line 102 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, and $row.
Referenced by ilContainerObjectiveGUI\buildObjectiveMap(), ilLOEditorGUI\executeCommand(), ilTrMatrixTableGUI\getItems(), ilTestResultHeaderLabelBuilder\getObjectiveTitle(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesStatus(), ilLOTestAssignmentForm\initForm(), ilTestQuestionRelatedObjectivesList\loadObjectivesTitles(), ilLOMemberTestResultTableGUI\parse(), ilPortfolioPageGUI\parseObjectives(), and ilContainerObjectiveGUI\renderTest().
Here is the caller graph for this function:| ilCourseObjective::moveDown | ( | ) |
Definition at line 398 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, __getLastPosition(), __getPosition(), __read(), and getObjectiveId().
Here is the call graph for this function:| ilCourseObjective::moveUp | ( | ) |
Definition at line 367 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, __getPosition(), __read(), and getObjectiveId().
Here is the call graph for this function:| ilCourseObjective::setActive | ( | $a_stat | ) |
Definition at line 208 of file class.ilCourseObjective.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseObjective::setDescription | ( | $a_description | ) |
Definition at line 242 of file class.ilCourseObjective.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseObjective::setObjectiveId | ( | $a_objective_id | ) |
Definition at line 250 of file class.ilCourseObjective.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseObjective::setPasses | ( | $a_passes | ) |
Definition at line 218 of file class.ilCourseObjective.php.
Referenced by __read().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilCourseObjective::toXml | ( | ilXmlWriter | $writer | ) |
write objective xml
| ilXmlWriter | $writer |
Definition at line 590 of file class.ilCourseObjective.php.
References $test, getDescription(), ilLOTestAssignments\getInstance(), getObjectiveId(), getTitle(), isActive(), ilLORandomTestQuestionPools\toXml(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:| ilCourseObjective::update | ( | ) |
Definition at line 293 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, getDescription(), getObjectiveId(), getPasses(), getTitle(), and isActive().
Here is the call graph for this function:| ilCourseObjective::validate | ( | ) |
validate
@access public
return
Definition at line 335 of file class.ilCourseObjective.php.
References getTitle().
Here is the call graph for this function:| ilCourseObjective::writePosition | ( | $a_position | ) |
write position
@access public
| int | new position |
Definition at line 318 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, and getObjectiveId().
Here is the call graph for this function:
|
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().