ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilCourseObjectiveResult ($a_usr_id) | |
getUserId () | |
getAccomplished ($a_crs_id) | |
_getAccomplished ($a_user_id, $a_crs_id) | |
getSuggested ($a_crs_id, $a_status=IL_OBJECTIVE_STATUS_FINAL) | |
_getSuggested ($a_user_id, $a_crs_id, $a_status=IL_OBJECTIVE_STATUS_FINAL) | |
reset ($a_course_id) | |
getStatus ($a_course_id) | |
hasAccomplishedObjective ($a_objective_id) | |
readStatus ($a_crs_id) | |
__deleteEntries ($a_objective_ids) | |
_deleteUser ($user_id) | |
_updateObjectiveResult ($a_user_id, $a_active_id, $a_question_id) | |
_readAssignedObjectivesOfQuestion ($a_question_id) | |
_readAssignedObjectives ($a_all_objectives) | |
_updateObjectiveStatus ($a_user_id, $objectives) | |
__isFullfilled ($question_points, $objective_data) | |
__updatePassed ($a_user_id, $objective_ids) |
Data Fields | |
$db = null | |
$user_id = null |
Definition at line 42 of file class.ilCourseObjectiveResult.php.
ilCourseObjectiveResult::__deleteEntries | ( | $a_objective_ids | ) |
Definition at line 255 of file class.ilCourseObjectiveResult.php.
References $in, getUserId(), and ilUtil\quoteArray().
Referenced by reset().
ilCourseObjectiveResult::__isFullfilled | ( | $question_points, | |
$objective_data | |||
) |
Definition at line 424 of file class.ilCourseObjectiveResult.php.
Referenced by _updateObjectiveStatus().
ilCourseObjectiveResult::__updatePassed | ( | $a_user_id, | |
$objective_ids | |||
) |
Definition at line 447 of file class.ilCourseObjectiveResult.php.
References $res, ilCourseParticipants\_getInstanceByObjId(), DB_FETCHMODE_OBJECT, and ilUtil\quoteArray().
Referenced by _updateObjectiveStatus().
ilCourseObjectiveResult::_deleteUser | ( | $user_id | ) |
Definition at line 273 of file class.ilCourseObjectiveResult.php.
References $user_id.
ilCourseObjectiveResult::_getAccomplished | ( | $a_user_id, | |
$a_crs_id | |||
) |
Definition at line 65 of file class.ilCourseObjectiveResult.php.
References $res, ilCourseObjective\_getObjectiveIds(), DB_FETCHMODE_OBJECT, and ilUtil\quoteArray().
Referenced by getAccomplished().
ilCourseObjectiveResult::_getSuggested | ( | $a_user_id, | |
$a_crs_id, | |||
$a_status = IL_OBJECTIVE_STATUS_FINAL |
|||
) |
Definition at line 92 of file class.ilCourseObjectiveResult.php.
References $res, ilCourseObjective\_getObjectiveIds(), DB_FETCHMODE_OBJECT, IL_OBJECTIVE_STATUS_FINAL, IL_OBJECTIVE_STATUS_FINISHED, and ilUtil\quoteArray().
Referenced by getSuggested(), and ilCourseObjectiveResultCache\readSuggested().
ilCourseObjectiveResult::_readAssignedObjectives | ( | $a_all_objectives | ) |
Definition at line 330 of file class.ilCourseObjectiveResult.php.
References $res, DB_FETCHMODE_OBJECT, and ilUtil\quoteArray().
Referenced by _readAssignedObjectivesOfQuestion(), getStatus(), and readStatus().
ilCourseObjectiveResult::_readAssignedObjectivesOfQuestion | ( | $a_question_id | ) |
Definition at line 305 of file class.ilCourseObjectiveResult.php.
References $res, _readAssignedObjectives(), and DB_FETCHMODE_OBJECT.
Referenced by _updateObjectiveResult().
ilCourseObjectiveResult::_updateObjectiveResult | ( | $a_user_id, | |
$a_active_id, | |||
$a_question_id | |||
) |
Definition at line 291 of file class.ilCourseObjectiveResult.php.
References _readAssignedObjectivesOfQuestion(), and _updateObjectiveStatus().
Referenced by assQuestion\_setReachedPoints(), and assQuestion\saveWorkingData().
ilCourseObjectiveResult::_updateObjectiveStatus | ( | $a_user_id, | |
$objectives | |||
) |
Definition at line 360 of file class.ilCourseObjectiveResult.php.
References $data, $res, __isFullfilled(), __updatePassed(), DB_FETCHMODE_OBJECT, and ilUtil\quoteArray().
Referenced by _updateObjectiveResult(), and readStatus().
ilCourseObjectiveResult::getAccomplished | ( | $a_crs_id | ) |
Definition at line 61 of file class.ilCourseObjectiveResult.php.
References _getAccomplished(), and getUserId().
Referenced by getStatus().
ilCourseObjectiveResult::getStatus | ( | $a_course_id | ) |
Definition at line 174 of file class.ilCourseObjectiveResult.php.
References $data, assQuestion\_areAnswered(), ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), getAccomplished(), getSuggested(), getUserId(), IL_OBJECTIVE_STATUS_EMPTY, IL_OBJECTIVE_STATUS_FINAL, IL_OBJECTIVE_STATUS_FINISHED, IL_OBJECTIVE_STATUS_NONE, IL_OBJECTIVE_STATUS_PRETEST, and IL_OBJECTIVE_STATUS_PRETEST_NON_SUGGEST.
ilCourseObjectiveResult::getSuggested | ( | $a_crs_id, | |
$a_status = IL_OBJECTIVE_STATUS_FINAL |
|||
) |
Definition at line 87 of file class.ilCourseObjectiveResult.php.
References _getSuggested(), and getUserId().
Referenced by getStatus().
ilCourseObjectiveResult::getUserId | ( | ) |
Definition at line 56 of file class.ilCourseObjectiveResult.php.
References $user_id.
Referenced by __deleteEntries(), getAccomplished(), getStatus(), getSuggested(), hasAccomplishedObjective(), readStatus(), and reset().
ilCourseObjectiveResult::hasAccomplishedObjective | ( | $a_objective_id | ) |
Definition at line 225 of file class.ilCourseObjectiveResult.php.
References $res, DB_FETCHMODE_OBJECT, and getUserId().
ilCourseObjectiveResult::ilCourseObjectiveResult | ( | $a_usr_id | ) |
Definition at line 48 of file class.ilCourseObjectiveResult.php.
ilCourseObjectiveResult::readStatus | ( | $a_crs_id | ) |
Definition at line 241 of file class.ilCourseObjectiveResult.php.
References ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), _updateObjectiveStatus(), and getUserId().
ilCourseObjectiveResult::reset | ( | $a_course_id | ) |
Definition at line 134 of file class.ilCourseObjectiveResult.php.
References __deleteEntries(), ilCourseObjective\_getObjectiveIds(), ilObjectFactory\getInstanceByRefId(), getUserId(), and ilUtil\quoteArray().
Referenced by ilObjCourseGUI\cciResetObject(), ilCourseObjectivePresentationGUI\reset(), and ilObjCourseGUI\resetObject().
ilCourseObjectiveResult::$db = null |
Definition at line 44 of file class.ilCourseObjectiveResult.php.
ilCourseObjectiveResult::$user_id = null |
Definition at line 45 of file class.ilCourseObjectiveResult.php.
Referenced by _deleteUser(), and getUserId().