|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
class ilcourseobjective More...
Collaboration diagram for ilCourseObjectiveResult:Public Member Functions | |
| __construct ($a_usr_id) | |
| Constructor. More... | |
| getUserId () | |
| getAccomplished ($a_crs_id) | |
| getSuggested ($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) | |
Static Public Member Functions | |
| static | _getAccomplished ($a_user_id, $a_crs_id) |
| static | _getSuggested ($a_user_id, $a_crs_id, $a_status=IL_OBJECTIVE_STATUS_FINAL) |
| static | getSuggestedQuestions ($a_usr_id, $a_crs_id) |
| get suggested questions ids More... | |
| static | _deleteUser ($user_id) |
| static | _updateObjectiveResult ($a_user_id, $a_active_id, $a_question_id) |
| static | _readAssignedObjectivesOfQuestion ($a_question_id) |
| static | _readAssignedObjectives ($a_all_objectives) |
| static | _updateObjectiveStatus ($a_user_id, $objectives) |
| static | __isFullfilled ($question_points, $objective_data) |
| static | __updatePassed ($a_user_id, $objective_ids) |
| can be protected? More... | |
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::__construct | ( | $a_usr_id | ) |
Constructor.
| int | $a_usr_id |
Definition at line 29 of file class.ilCourseObjectiveResult.php.
References $ilDB.
| ilCourseObjectiveResult::__deleteEntries | ( | $a_objective_ids | ) |
Definition at line 286 of file class.ilCourseObjectiveResult.php.
References $ilLog.
|
static |
Definition at line 444 of file class.ilCourseObjectiveResult.php.
Referenced by _updateObjectiveStatus().
Here is the caller graph for this function:
|
static |
can be protected?
@global type $ilDB
| type | $a_user_id | |
| type | $objective_ids |
Definition at line 471 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilCourseParticipants\_getInstanceByObjId(), ilLPStatusWrapper\_updateStatus(), and ilDBConstants\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 296 of file class.ilCourseObjectiveResult.php.
|
static |
Definition at line 46 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilCourseObjective\_getObjectiveIds(), and ilDBConstants\FETCHMODE_OBJECT.
Referenced by getAccomplished().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 73 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilCourseObjective\_getObjectiveIds(), ilDBConstants\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:
|
static |
Definition at line 346 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _readAssignedObjectivesOfQuestion(), getStatus(), and readStatus().
Here is the caller graph for this function:
|
static |
Definition at line 323 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, _readAssignedObjectives(), and ilDBConstants\FETCHMODE_OBJECT.
Here is the call graph for this function:
|
static |
Definition at line 310 of file class.ilCourseObjectiveResult.php.
References _updateObjectiveStatus().
Referenced by assQuestion\_setReachedPoints(), and assQuestion\calculateResultsFromSolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 373 of file class.ilCourseObjectiveResult.php.
References $data, $ilDB, $ilUser, $query, $res, $row, __isFullfilled(), __updatePassed(), ilDBConstants\FETCHMODE_OBJECT, and ilUtil\quoteArray().
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 42 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 213 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 68 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 117 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::getUserId | ( | ) |
Definition at line 37 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 255 of file class.ilCourseObjectiveResult.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and getUserId().
Here is the call graph for this function:| ilCourseObjectiveResult::readStatus | ( | $a_crs_id | ) |
Definition at line 270 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 146 of file class.ilCourseObjectiveResult.php.
References $factory, $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 129 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().