|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
class ilcourseobjective More...
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 More... | |
| static | _deleteUser ($user_id) |
Data Fields | |
| $db = null | |
| $user_id = null | |
Protected Member Functions | |
| resetTestForUser (ilObjTest $a_test, $a_user_id) | |
class ilcourseobjective
Definition at line 19 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::__deleteEntries | ( | $a_objective_ids | ) |
Definition at line 313 of file class.ilCourseObjectiveResult.php.
References $ilLog.
| ilCourseObjectiveResult::__isFullfilled | ( | $question_points, | |
| $objective_data | |||
| ) |
Definition at line 489 of file class.ilCourseObjectiveResult.php.
Referenced by _updateObjectiveStatus().
Here is the caller graph for this function:| ilCourseObjectiveResult::__updatePassed | ( | $a_user_id, | |
| $objective_ids | |||
| ) |
Definition at line 512 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 caller graph for this function:
|
static |
Definition at line 323 of file class.ilCourseObjectiveResult.php.
| 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 caller graph for this function:| ilCourseObjectiveResult::_getSuggested | ( | $a_user_id, | |
| $a_crs_id, | |||
$a_status = IL_OBJECTIVE_STATUS_FINAL |
|||
| ) |
Definition at line 71 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 caller graph for this function:| ilCourseObjectiveResult::_readAssignedObjectives | ( | $a_all_objectives | ) |
Definition at line 376 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:| ilCourseObjectiveResult::_readAssignedObjectivesOfQuestion | ( | $a_question_id | ) |
Definition at line 351 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 caller graph for this function:| ilCourseObjectiveResult::_updateObjectiveResult | ( | $a_user_id, | |
| $a_active_id, | |||
| $a_question_id | |||
| ) |
Definition at line 337 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 caller graph for this function:| ilCourseObjectiveResult::_updateObjectiveStatus | ( | $a_user_id, | |
| $objectives | |||
| ) |
Definition at line 406 of file class.ilCourseObjectiveResult.php.
References $data, $ilDB, $ilUser, $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 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 caller graph for this function:| ilCourseObjectiveResult::getStatus | ( | $a_course_id | ) |
Definition at line 228 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:| ilCourseObjectiveResult::getSuggested | ( | $a_crs_id, | |
$a_status = IL_OBJECTIVE_STATUS_FINAL |
|||
| ) |
Definition at line 66 of file class.ilCourseObjectiveResult.php.
References _getSuggested(), and getUserId().
Referenced by getStatus().
Here is the call 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 122 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:| ilCourseObjectiveResult::hasAccomplishedObjective | ( | $a_objective_id | ) |
Definition at line 281 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getUserId().
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 297 of file class.ilCourseObjectiveResult.php.
References ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), _updateObjectiveStatus(), and getUserId().
Here is the call graph for this function:| ilCourseObjectiveResult::reset | ( | $a_course_id | ) |
Definition at line 154 of file class.ilCourseObjectiveResult.php.
References $ilDB, $lng, $query, $res, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_updateStatus(), ilLOTestAssignments\getInstance(), ilLOSettings\getInstanceByObjId(), getUserId(), resetTestForUser(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:
|
protected |
Definition at line 136 of file class.ilCourseObjectiveResult.php.
References ilObjTest\getActiveIdOfUser(), ilObject\getId(), ilObjectLP\getInstance(), and ilObjTest\removeTestActives().
Referenced by reset().
Here is the call 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().