| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
class ilcourseobjective More...
 Inheritance diagram for ilCourseObjective:
 Inheritance diagram for ilCourseObjective: Collaboration diagram for ilCourseObjective:
 Collaboration diagram for ilCourseObjective:| Public Member Functions | |
| ilCourseObjective (&$course_obj, $a_objective_id=0) | |
| ilClone ($a_target_id, $a_copy_id) | |
| clone objectives | |
| setTitle ($a_title) | |
| getTitle () | |
| setDescription ($a_description) | |
| getDescription () | |
| setObjectiveId ($a_objective_id) | |
| getObjectiveId () | |
| add () | |
| update () | |
| writePosition ($a_position) | |
| write position | |
| validate () | |
| validate | |
| delete () | |
| moveUp () | |
| moveDown () | |
| __setPosition ($a_position) | |
| __getPosition () | |
| __setCreated ($a_created) | |
| __getCreated () | |
| __read () | |
| __getOrderColumn () | |
| __updateTop () | |
| __getLastPosition () | |
| _getObjectiveIds ($course_id) | |
| _deleteAll ($course_id) | |
| Static Public Member Functions | |
| static | _lookupContainerIdByObjectiveId ($a_objective_id) | 
| Get container of object. | |
| static | _getCountObjectives ($a_obj_id) | 
| get count objectives | |
| Data Fields | |
| $db = null | |
| $course_obj = null | |
| $objective_id = null | |
class ilcourseobjective
Definition at line 13 of file class.ilCourseObjective.php.
| ilCourseObjective::__getCreated | ( | ) | 
Definition at line 319 of file class.ilCourseObjective.php.
| ilCourseObjective::__getLastPosition | ( | ) | 
Definition at line 379 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by add(), and moveDown().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::__getOrderColumn | ( | ) | 
Definition at line 350 of file class.ilCourseObjective.php.
References ilContainer\SORT_ACTIVATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
| ilCourseObjective::__getPosition | ( | ) | 
Definition at line 311 of file class.ilCourseObjective.php.
Referenced by __updateTop(), moveDown(), and moveUp().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::__read | ( | ) | 
Definition at line 325 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, __setCreated(), __setPosition(), DB_FETCHMODE_OBJECT, getObjectiveId(), setDescription(), setObjectiveId(), and setTitle().
Referenced by ilCourseObjective(), moveDown(), and moveUp().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::__setCreated | ( | $a_created | ) | 
Definition at line 315 of file class.ilCourseObjective.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::__setPosition | ( | $a_position | ) | 
Definition at line 307 of file class.ilCourseObjective.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::__updateTop | ( | ) | 
Definition at line 366 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, and __getPosition().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::_deleteAll | ( | $course_id | ) | 
Definition at line 412 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get count objectives
public
| int | obj_id | 
Definition at line 64 of file class.ilCourseObjective.php.
References $ilDB, $query, and $res.
Referenced by ilObjCourseGUI\getTabs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::_getObjectiveIds | ( | $course_id | ) | 
Definition at line 395 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCourseObjectivePresentationGUI\__showInfo(), ilCourseObjectivePresentationGUI\__showObjectives(), _deleteAll(), ilCourseObjectiveResult\_getAccomplished(), ilLPCollections\_getItems(), ilLPStatusObjectives\_getStatusInfo(), ilCourseObjectiveResult\_getSuggested(), ilLPStatusObjectives\determineStatus(), ilCourseObjectiveResult\getStatus(), ilContainerObjectiveGUI\initDetails(), ilCourseObjectivesGUI\listObjectives(), ilCourseObjectivesGUI\questionOverview(), ilCourseObjectiveResult\readStatus(), ilCourseObjectiveResult\reset(), and ilContainerObjectiveGUI\showObjectives().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get container of object.
public
| int | objective id | 
Definition at line 42 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCourseObjectiveMaterials\__read(), and ilCourseObjectiveQuestion\__read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::add | ( | ) | 
Definition at line 151 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, __getLastPosition(), ilLPStatusWrapper\_refreshStatus(), getDescription(), and getTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::delete | ( | ) | 
Definition at line 217 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, ilLPStatusWrapper\_refreshStatus(), and getObjectiveId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::getDescription | ( | ) | 
Definition at line 138 of file class.ilCourseObjective.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::getObjectiveId | ( | ) | 
Definition at line 146 of file class.ilCourseObjective.php.
References $objective_id.
Referenced by __read(), delete(), moveDown(), moveUp(), update(), and writePosition().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::getTitle | ( | ) | 
Definition at line 130 of file class.ilCourseObjective.php.
References $title.
Referenced by add(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::ilClone | ( | $a_target_id, | |
| $a_copy_id | |||
| ) | 
clone objectives
public
| int | target id | 
| int | copy id | 
Definition at line 82 of file class.ilCourseObjective.php.
References $ilLog, $objective_id, $query, $res, $row, DB_FETCHMODE_OBJECT, ilObjectFactory\getInstanceByRefId(), and ilCourseObjective().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::ilCourseObjective | ( | & | $course_obj, | 
| $a_objective_id = 0 | |||
| ) | 
Definition at line 20 of file class.ilCourseObjective.php.
References $course_obj, $ilDB, and __read().
Referenced by ilClone().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::moveDown | ( | ) | 
Definition at line 275 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, __getLastPosition(), __getPosition(), __read(), and getObjectiveId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::moveUp | ( | ) | 
Definition at line 244 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, __getPosition(), __read(), and getObjectiveId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::setDescription | ( | $a_description | ) | 
Definition at line 134 of file class.ilCourseObjective.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::setObjectiveId | ( | $a_objective_id | ) | 
Definition at line 142 of file class.ilCourseObjective.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::setTitle | ( | $a_title | ) | 
Definition at line 126 of file class.ilCourseObjective.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjective::update | ( | ) | 
Definition at line 174 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, getDescription(), getObjectiveId(), and getTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::validate | ( | ) | 
validate
public
| @return | 
Definition at line 212 of file class.ilCourseObjective.php.
References getTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::writePosition | ( | $a_position | ) | 
write position
public
| int | new position | 
Definition at line 195 of file class.ilCourseObjective.php.
References $ilDB, $query, $res, and getObjectiveId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjective::$course_obj = null | 
Definition at line 17 of file class.ilCourseObjective.php.
Referenced by ilCourseObjective().
| 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().