ILIAS
release_4-3 Revision
|
class ilcourseobjective More...
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 |
ilCourseObjective::__getCreated | ( | ) |
Definition at line 319 of file class.ilCourseObjective.php.
ilCourseObjective::__getLastPosition | ( | ) |
Definition at line 379 of file class.ilCourseObjective.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by add(), and moveDown().
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().
ilCourseObjective::__read | ( | ) |
Definition at line 325 of file class.ilCourseObjective.php.
References $query, $res, $row, __setCreated(), __setPosition(), DB_FETCHMODE_OBJECT, getObjectiveId(), setDescription(), setObjectiveId(), and setTitle().
Referenced by ilCourseObjective(), moveDown(), and moveUp().
ilCourseObjective::__setCreated | ( | $a_created | ) |
Definition at line 315 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::__setPosition | ( | $a_position | ) |
Definition at line 307 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::__updateTop | ( | ) |
Definition at line 366 of file class.ilCourseObjective.php.
References $query, $res, and __getPosition().
ilCourseObjective::_deleteAll | ( | $course_id | ) |
Definition at line 412 of file class.ilCourseObjective.php.
References $in, $query, $res, _getObjectiveIds(), and ilLPStatusWrapper\_refreshStatus().
Referenced by ilObjCourse\delete().
|
static |
get count objectives
public
int | obj_id |
Definition at line 64 of file class.ilCourseObjective.php.
Referenced by ilObjCourseGUI\getTabs().
ilCourseObjective::_getObjectiveIds | ( | $course_id | ) |
Definition at line 395 of file class.ilCourseObjective.php.
References $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().
|
static |
Get container of object.
public
int | objective id |
Definition at line 42 of file class.ilCourseObjective.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCourseObjectiveMaterials\__read(), and ilCourseObjectiveQuestion\__read().
ilCourseObjective::add | ( | ) |
Definition at line 151 of file class.ilCourseObjective.php.
References $query, $res, __getLastPosition(), ilLPStatusWrapper\_refreshStatus(), getDescription(), and getTitle().
ilCourseObjective::delete | ( | ) |
Definition at line 217 of file class.ilCourseObjective.php.
References $query, $res, ilLPStatusWrapper\_refreshStatus(), and getObjectiveId().
ilCourseObjective::getDescription | ( | ) |
Definition at line 138 of file class.ilCourseObjective.php.
Referenced by add(), and update().
ilCourseObjective::getObjectiveId | ( | ) |
Definition at line 146 of file class.ilCourseObjective.php.
References $objective_id.
Referenced by __read(), delete(), moveDown(), moveUp(), update(), and writePosition().
ilCourseObjective::getTitle | ( | ) |
Definition at line 130 of file class.ilCourseObjective.php.
References $title.
Referenced by add(), update(), and validate().
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().
ilCourseObjective::ilCourseObjective | ( | & | $course_obj, |
$a_objective_id = 0 |
|||
) |
Definition at line 20 of file class.ilCourseObjective.php.
References $course_obj, and __read().
Referenced by ilClone().
ilCourseObjective::moveDown | ( | ) |
Definition at line 275 of file class.ilCourseObjective.php.
References $query, $res, __getLastPosition(), __getPosition(), __read(), and getObjectiveId().
ilCourseObjective::moveUp | ( | ) |
Definition at line 244 of file class.ilCourseObjective.php.
References $query, $res, __getPosition(), __read(), and getObjectiveId().
ilCourseObjective::setDescription | ( | $a_description | ) |
Definition at line 134 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::setObjectiveId | ( | $a_objective_id | ) |
Definition at line 142 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::setTitle | ( | $a_title | ) |
Definition at line 126 of file class.ilCourseObjective.php.
Referenced by __read().
ilCourseObjective::update | ( | ) |
Definition at line 174 of file class.ilCourseObjective.php.
References $query, $res, getDescription(), getObjectiveId(), and getTitle().
ilCourseObjective::validate | ( | ) |
validate
public
@return |
Definition at line 212 of file class.ilCourseObjective.php.
References getTitle().
ilCourseObjective::writePosition | ( | $a_position | ) |
write position
public
int | new position |
Definition at line 195 of file class.ilCourseObjective.php.
References $query, $res, and getObjectiveId().
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().