|
ILIAS
release_8 Revision v8.24
|
class ilcourseobjective More...
Collaboration diagram for ilCourseObjectiveResult:Public Member Functions | |
| __construct (int $a_usr_id) | |
| getUserId () | |
| getAccomplished (int $a_crs_id) | |
| getSuggested (int $a_crs_id, string $a_status=self::IL_OBJECTIVE_STATUS_FINAL) | |
| reset (int $a_course_id) | |
| getStatus (int $a_course_id) | |
| hasAccomplishedObjective (int $a_objective_id) | |
| readStatus (int $a_crs_id) | |
Static Public Member Functions | |
| static | _getAccomplished (int $a_user_id, int $a_crs_id) |
| static | _getSuggested (int $a_user_id, int $a_crs_id, string $a_status=self::IL_OBJECTIVE_STATUS_FINAL) |
| static | getSuggestedQuestions (int $a_usr_id, int $a_crs_id) |
| static | _updateObjectiveResult (int $a_user_id, int $a_active_id, int $a_question_id) |
| static | _readAssignedObjectivesOfQuestion (int $a_question_id) |
| static | _readAssignedObjectives (array $a_all_objectives) |
| static | _updateObjectiveStatus (int $a_user_id, array $objectives) |
| static | __isFullfilled (array $question_points, array $objective_data) |
Data Fields | |
| const | IL_OBJECTIVE_STATUS_EMPTY = 'empty' |
| const | IL_OBJECTIVE_STATUS_PRETEST = 'pretest' |
| const | IL_OBJECTIVE_STATUS_FINAL = 'final' |
| const | IL_OBJECTIVE_STATUS_NONE = 'none' |
| const | IL_OBJECTIVE_STATUS_FINISHED = 'finished' |
| const | IL_OBJECTIVE_STATUS_PRETEST_NON_SUGGEST = 'pretest_non_suggest' |
Protected Member Functions | |
| resetTestForUser (ilObjTest $a_test, int $a_user_id) | |
Static Protected Member Functions | |
| static | __updatePassed (int $a_user_id, array $objective_ids) |
Protected Attributes | |
| ilDBInterface | $db |
Private Attributes | |
| int | $user_id |
class ilcourseobjective
Definition at line 24 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::__construct | ( | int | $a_usr_id | ) |
Definition at line 37 of file class.ilCourseObjectiveResult.php.
References $DIC.
|
static |
Definition at line 392 of file class.ilCourseObjectiveResult.php.
References $DIC.
Referenced by _updateObjectiveStatus().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 415 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $query, $res, ilCourseParticipants\_getInstanceByObjId(), ilLPStatusWrapper\_updateStatus(), ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by _updateObjectiveStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 56 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $objectives, $query, $res, ilCourseObjective\_getObjectiveIds(), ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by getAccomplished().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 82 of file class.ilCourseObjectiveResult.php.
Referenced by getSuggested(), and ilCourseObjectiveResultCache\readSuggested().
Here is the caller graph for this function:
|
static |
Definition at line 295 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $objectives, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by getStatus(), and readStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 270 of file class.ilCourseObjectiveResult.php.
References $DIC, $ilDB, $objectives, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 259 of file class.ilCourseObjectiveResult.php.
References $objectives.
Referenced by assQuestion\_setReachedPoints(), and assQuestion\calculateResultsFromSolution().
Here is the caller graph for this function:
|
static |
Definition at line 318 of file class.ilCourseObjectiveResult.php.
References $data, $DIC, $ilDB, $ilUser, $objectives, $query, $res, __isFullfilled(), __updatePassed(), ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by readStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjectiveResult::getAccomplished | ( | int | $a_crs_id | ) |
Definition at line 51 of file class.ilCourseObjectiveResult.php.
References _getAccomplished(), and getUserId().
Here is the call graph for this function:| ilCourseObjectiveResult::getStatus | ( | int | $a_course_id | ) |
Definition at line 202 of file class.ilCourseObjectiveResult.php.
References $data, $objectives, assQuestion\_areAnswered(), ilCourseObjective\_getObjectiveIds(), and _readAssignedObjectives().
Here is the call graph for this function:| ilCourseObjectiveResult::getSuggested | ( | int | $a_crs_id, |
| string | $a_status = self::IL_OBJECTIVE_STATUS_FINAL |
||
| ) |
Definition at line 77 of file class.ilCourseObjectiveResult.php.
References _getSuggested(), and getUserId().
Here is the call graph for this function:
|
static |
Definition at line 123 of file class.ilCourseObjectiveResult.php.
| ilCourseObjectiveResult::getUserId | ( | ) |
Definition at line 46 of file class.ilCourseObjectiveResult.php.
References $user_id.
Referenced by getAccomplished(), and getSuggested().
Here is the caller graph for this function:| ilCourseObjectiveResult::hasAccomplishedObjective | ( | int | $a_objective_id | ) |
Definition at line 239 of file class.ilCourseObjectiveResult.php.
References $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilCourseObjectiveResult::readStatus | ( | int | $a_crs_id | ) |
Definition at line 252 of file class.ilCourseObjectiveResult.php.
References $objectives, ilCourseObjective\_getObjectiveIds(), _readAssignedObjectives(), and _updateObjectiveStatus().
Here is the call graph for this function:| ilCourseObjectiveResult::reset | ( | int | $a_course_id | ) |
Definition at line 148 of file class.ilCourseObjectiveResult.php.
References $DIC, $lng, $objectives, $query, $res, ilCourseObjective\_getObjectiveIds(), ilLPStatusWrapper\_updateStatus(), ilLOTestAssignments\getInstance(), ilLOSettings\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilDBConstants\T_INTEGER, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:
|
protected |
Definition at line 135 of file class.ilCourseObjectiveResult.php.
References ilObjTest\getActiveIdOfUser(), ilObject\getId(), ilObjectLP\getInstance(), and ilObjTest\removeTestActives().
Here is the call graph for this function:
|
protected |
Definition at line 35 of file class.ilCourseObjectiveResult.php.
|
private |
Definition at line 33 of file class.ilCourseObjectiveResult.php.
Referenced by getUserId().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_EMPTY = 'empty' |
Definition at line 26 of file class.ilCourseObjectiveResult.php.
Referenced by ilContainerObjectiveGUI\showStatus().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_FINAL = 'final' |
Definition at line 28 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_FINISHED = 'finished' |
Definition at line 30 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_NONE = 'none' |
Definition at line 29 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo(), and ilCourseObjectiveListGUI\insertTitle().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_PRETEST = 'pretest' |
Definition at line 27 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().
| const ilCourseObjectiveResult::IL_OBJECTIVE_STATUS_PRETEST_NON_SUGGEST = 'pretest_non_suggest' |
Definition at line 31 of file class.ilCourseObjectiveResult.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo().