ILIAS
Release_4_0_x_branch Revision 61816
|
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) | |
_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) |
Static Public Member Functions | |
static | getSuggestedQuestions ($a_usr_id, $a_crs_id) |
get suggested questions ids | |
static | _deleteUser ($user_id) |
Data Fields | |
$db = null | |
$user_id = null |
Definition at line 42 of file class.ilCourseObjectiveResult.php.
ilCourseObjectiveResult::__deleteEntries | ( | $a_objective_ids | ) |
Definition at line 276 of file class.ilCourseObjectiveResult.php.
References $ilLog.
ilCourseObjectiveResult::__isFullfilled | ( | $question_points, | |
$objective_data | |||
) |
Definition at line 441 of file class.ilCourseObjectiveResult.php.
Referenced by _updateObjectiveStatus().
ilCourseObjectiveResult::__updatePassed | ( | $a_user_id, | |
$objective_ids | |||
) |
Definition at line 464 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilCourseParticipants\_getInstanceByObjId(), and DB_FETCHMODE_OBJECT.
Referenced by _updateObjectiveStatus().
|
static |
ilCourseObjectiveResult::_getAccomplished | ( | $a_user_id, | |
$a_crs_id | |||
) |
Definition at line 65 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilCourseObjective\_getObjectiveIds(), and DB_FETCHMODE_OBJECT.
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 $ilDB, $query, $res, $row, ilCourseObjective\_getObjectiveIds(), DB_FETCHMODE_OBJECT, IL_OBJECTIVE_STATUS_FINAL, and IL_OBJECTIVE_STATUS_FINISHED.
Referenced by getSuggested(), and ilCourseObjectiveResultCache\readSuggested().
ilCourseObjectiveResult::_readAssignedObjectives | ( | $a_all_objectives | ) |
Definition at line 339 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _readAssignedObjectivesOfQuestion(), getStatus(), and readStatus().
ilCourseObjectiveResult::_readAssignedObjectivesOfQuestion | ( | $a_question_id | ) |
Definition at line 314 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, _readAssignedObjectives(), and DB_FETCHMODE_OBJECT.
Referenced by _updateObjectiveResult().
ilCourseObjectiveResult::_updateObjectiveResult | ( | $a_user_id, | |
$a_active_id, | |||
$a_question_id | |||
) |
Definition at line 300 of file class.ilCourseObjectiveResult.php.
References _readAssignedObjectivesOfQuestion(), and _updateObjectiveStatus().
Referenced by assQuestion\_setReachedPoints(), and assQuestion\calculateResultsFromSolution().
ilCourseObjectiveResult::_updateObjectiveStatus | ( | $a_user_id, | |
$objectives | |||
) |
Definition at line 369 of file class.ilCourseObjectiveResult.php.
References $data, $ilDB, $query, $res, $row, __isFullfilled(), __updatePassed(), and DB_FETCHMODE_OBJECT.
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 195 of file class.ilCourseObjectiveResult.php.
References $data, assQuestion\_areAnswered(), ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), elseif(), 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().
|
static |
get suggested questions ids
object | $a_usr_id | |
object | $a_crs_id |
Definition at line 141 of file class.ilCourseObjectiveResult.php.
ilCourseObjectiveResult::getUserId | ( | ) |
Definition at line 56 of file class.ilCourseObjectiveResult.php.
References $user_id.
Referenced by getAccomplished(), getStatus(), getSuggested(), hasAccomplishedObjective(), readStatus(), and reset().
ilCourseObjectiveResult::hasAccomplishedObjective | ( | $a_objective_id | ) |
Definition at line 246 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getUserId().
ilCourseObjectiveResult::ilCourseObjectiveResult | ( | $a_usr_id | ) |
Definition at line 48 of file class.ilCourseObjectiveResult.php.
References $ilDB.
ilCourseObjectiveResult::readStatus | ( | $a_crs_id | ) |
Definition at line 262 of file class.ilCourseObjectiveResult.php.
References ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), _updateObjectiveStatus(), and getUserId().
ilCourseObjectiveResult::reset | ( | $a_course_id | ) |
Definition at line 155 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, ilCourseObjective\_getObjectiveIds(), ilObjectFactory\getInstanceByRefId(), and getUserId().
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().