| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
class ilcourseobjective More...
 Collaboration diagram for ilCourseObjectiveResult:
 Collaboration diagram for ilCourseObjectiveResult:| 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 | |
class ilcourseobjective
Definition at line 19 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::__deleteEntries | ( | $a_objective_ids | ) | 
Definition at line 256 of file class.ilCourseObjectiveResult.php.
References $ilLog.
| ilCourseObjectiveResult::__isFullfilled | ( | $question_points, | |
| $objective_data | |||
| ) | 
Definition at line 421 of file class.ilCourseObjectiveResult.php.
Referenced by _updateObjectiveStatus().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjectiveResult::__updatePassed | ( | $a_user_id, | |
| $objective_ids | |||
| ) | 
Definition at line 444 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilCourseParticipants\_getInstanceByObjId(), ilLPStatusWrapper\_updateStatus(), and DB_FETCHMODE_OBJECT.
Referenced by _updateObjectiveStatus().
 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 | 
| ilCourseObjectiveResult::_getAccomplished | ( | $a_user_id, | |
| $a_crs_id | |||
| ) | 
Definition at line 42 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilCourseObjective\_getObjectiveIds(), and DB_FETCHMODE_OBJECT.
Referenced by getAccomplished().
 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:| ilCourseObjectiveResult::_getSuggested | ( | $a_user_id, | |
| $a_crs_id, | |||
| $a_status = IL_OBJECTIVE_STATUS_FINAL | |||
| ) | 
Definition at line 69 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().
 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:| ilCourseObjectiveResult::_readAssignedObjectives | ( | $a_all_objectives | ) | 
Definition at line 319 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _readAssignedObjectivesOfQuestion(), getStatus(), and readStatus().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjectiveResult::_readAssignedObjectivesOfQuestion | ( | $a_question_id | ) | 
Definition at line 294 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, _readAssignedObjectives(), and DB_FETCHMODE_OBJECT.
Referenced by _updateObjectiveResult().
 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:| ilCourseObjectiveResult::_updateObjectiveResult | ( | $a_user_id, | |
| $a_active_id, | |||
| $a_question_id | |||
| ) | 
Definition at line 280 of file class.ilCourseObjectiveResult.php.
References _readAssignedObjectivesOfQuestion(), and _updateObjectiveStatus().
Referenced by assQuestion\_setReachedPoints(), and assQuestion\calculateResultsFromSolution().
 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:| ilCourseObjectiveResult::_updateObjectiveStatus | ( | $a_user_id, | |
| $objectives | |||
| ) | 
Definition at line 349 of file class.ilCourseObjectiveResult.php.
References $data, $ilDB, $query, $res, $row, __isFullfilled(), __updatePassed(), and DB_FETCHMODE_OBJECT.
Referenced by _updateObjectiveResult(), and readStatus().
 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:| ilCourseObjectiveResult::getAccomplished | ( | $a_crs_id | ) | 
Definition at line 38 of file class.ilCourseObjectiveResult.php.
References _getAccomplished(), and getUserId().
Referenced by getStatus().
 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:| ilCourseObjectiveResult::getStatus | ( | $a_course_id | ) | 
Definition at line 175 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.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjectiveResult::getSuggested | ( | $a_crs_id, | |
| $a_status = IL_OBJECTIVE_STATUS_FINAL | |||
| ) | 
Definition at line 64 of file class.ilCourseObjectiveResult.php.
References _getSuggested(), and getUserId().
Referenced by getStatus().
 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 suggested questions ids
| object | $a_usr_id | |
| object | $a_crs_id | 
Definition at line 118 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::getUserId | ( | ) | 
Definition at line 33 of file class.ilCourseObjectiveResult.php.
References $user_id.
Referenced by getAccomplished(), getStatus(), getSuggested(), hasAccomplishedObjective(), readStatus(), and reset().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseObjectiveResult::hasAccomplishedObjective | ( | $a_objective_id | ) | 
Definition at line 226 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getUserId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjectiveResult::ilCourseObjectiveResult | ( | $a_usr_id | ) | 
Definition at line 25 of file class.ilCourseObjectiveResult.php.
References $ilDB.
| ilCourseObjectiveResult::readStatus | ( | $a_crs_id | ) | 
Definition at line 242 of file class.ilCourseObjectiveResult.php.
References ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), _updateObjectiveStatus(), and getUserId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseObjectiveResult::reset | ( | $a_course_id | ) | 
Definition at line 132 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_updateStatus(), ilObjectFactory\getInstanceByRefId(), and getUserId().
Referenced by ilObjCourseGUI\cciResetObject(), ilCourseObjectivePresentationGUI\reset(), and ilObjCourseGUI\resetObject().
 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:| ilCourseObjectiveResult::$db = null | 
Definition at line 21 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::$user_id = null | 
Definition at line 22 of file class.ilCourseObjectiveResult.php.
Referenced by _deleteUser(), and getUserId().