|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilLOUserResults:Public Member Functions | |
| __construct (int $a_course_obj_id, int $a_user_id) | |
| delete () | |
| saveObjectiveResult (int $a_objective_id, int $a_type, int $a_status, int $a_result_percentage, int $a_limit_percentage, int $a_tries, bool $a_is_final) | |
| getCompletedObjectiveIdsByType (int $a_type) | |
| getSuggestedObjectiveIds () | |
| Get all objectives where the user failed the initial test. More... | |
| getCompletedObjectiveIds () | |
| Get all objectives where the user completed the qualified test. More... | |
| getFailedObjectiveIds (bool $a_is_final=true) | |
| getCourseResultsForUserPresentation () | |
Static Public Member Functions | |
| static | updateResultLimit (int $a_objective_id, int $a_test_type, int $a_limit) |
| static | lookupResult (int $a_course_obj_id, int $a_user_id, int $a_objective_id, int $a_tst_type) |
| static | resetFinalByObjective (int $a_objective_id) |
| static | deleteResultsForUser (int $a_user_id) |
| static | deleteResultsForCourse (int $a_course_id) |
| static | deleteResultsFromLP (int $a_course_id, array $a_user_ids, bool $a_remove_initial, bool $a_remove_qualified, array $a_objective_ids) |
| static | getObjectiveStatusForLP (int $a_user_id, int $a_obj_id, array $a_objective_ids) |
| static | getSummarizedObjectiveStatusForLP (int $a_obj_id, array $a_objective_ids, int $a_user_id=0) |
| static | hasResults (int $a_container_id, int $a_user_id) |
| static | getCompletionsOfUser (int $a_user_id, int $a_from_ts, int $a_to_ts) |
| Get completed learning objectives for user and time frame. More... | |
Data Fields | |
| const | TYPE_INITIAL = 1 |
| const | TYPE_QUALIFIED = 2 |
| const | STATUS_COMPLETED = 1 |
| const | STATUS_FAILED = 2 |
Protected Member Functions | |
| findObjectiveIds (int $a_type=0, int $a_status=0, ?bool $a_is_final=null) | |
Static Protected Member Functions | |
| static | isValidType (int $a_type) |
| static | isValidStatus (int $a_status) |
Protected Attributes | |
| int | $course_obj_id |
| int | $user_id |
| ilDBInterface | $db |
Definition at line 25 of file class.ilLOUserResults.php.
| ilLOUserResults::__construct | ( | int | $a_course_obj_id, |
| int | $a_user_id | ||
| ) |
Definition at line 38 of file class.ilLOUserResults.php.
References $DIC.
| ilLOUserResults::delete | ( | ) |
Definition at line 142 of file class.ilLOUserResults.php.
References $query, and ilDBConstants\T_INTEGER.
|
static |
Definition at line 129 of file class.ilLOUserResults.php.
|
static |
Definition at line 115 of file class.ilLOUserResults.php.
Referenced by ilObjCourse\_deleteUser().
Here is the caller graph for this function:
|
static |
Definition at line 150 of file class.ilLOUserResults.php.
Referenced by ilTestLP\resetCustomLPDataForUserIds().
Here is the caller graph for this function:
|
protected |
Definition at line 226 of file class.ilLOUserResults.php.
References $res.
| ilLOUserResults::getCompletedObjectiveIds | ( | ) |
Get all objectives where the user completed the qualified test.
Definition at line 268 of file class.ilLOUserResults.php.
References ILIAS\LTI\ToolProvider\$settings, and ilLOSettings\getInstanceByObjId().
Here is the call graph for this function:| ilLOUserResults::getCompletedObjectiveIdsByType | ( | int | $a_type | ) |
Definition at line 252 of file class.ilLOUserResults.php.
|
static |
Get completed learning objectives for user and time frame.
Definition at line 487 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilCourseLearningHistoryProvider\getEntries().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOUserResults::getCourseResultsForUserPresentation | ( | ) |
Definition at line 305 of file class.ilLOUserResults.php.
References $res, ILIAS\LTI\ToolProvider\$settings, $type, ilLOSettings\getInstanceByObjId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilLOUserResults::getFailedObjectiveIds | ( | bool | $a_is_final = true | ) |
Definition at line 300 of file class.ilLOUserResults.php.
|
static |
Definition at line 335 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, ilLOSettings\getInstanceByObjId(), ILIAS\Repository\int(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, and ilLPStatus\LP_STATUS_IN_PROGRESS_NUM.
Here is the call graph for this function:| ilLOUserResults::getSuggestedObjectiveIds | ( | ) |
Get all objectives where the user failed the initial test.
Definition at line 260 of file class.ilLOUserResults.php.
|
static |
Definition at line 388 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, ilLOSettings\getInstanceByObjId(), ILIAS\Repository\int(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, and ilLPStatus\LP_STATUS_IN_PROGRESS_NUM.
Referenced by ilLPStatusObjectives\_getStatusInfo(), and ilLPStatusObjectives\determineStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 468 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\getMainContent().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 110 of file class.ilLOUserResults.php.
|
staticprotected |
Definition at line 105 of file class.ilLOUserResults.php.
|
static |
Definition at line 60 of file class.ilLOUserResults.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilLOTestQuestionAdapter\initUserResult(), ilLOMemberTestResultTableGUI\parse(), and ilLOTestQuestionAdapter\updateQuestionResult().
Here is the caller graph for this function:
|
static |
Definition at line 94 of file class.ilLOUserResults.php.
References $DIC, $query, ilDBInterface\manipulate(), and ilDBInterface\quote().
Here is the call graph for this function:| ilLOUserResults::saveObjectiveResult | ( | int | $a_objective_id, |
| int | $a_type, | ||
| int | $a_status, | ||
| int | $a_result_percentage, | ||
| int | $a_limit_percentage, | ||
| int | $a_tries, | ||
| bool | $a_is_final | ||
| ) |
Definition at line 193 of file class.ilLOUserResults.php.
|
static |
Definition at line 48 of file class.ilLOUserResults.php.
References $db, $DIC, $query, ilDBInterface\manipulate(), ilDBInterface\quote(), and ilDBConstants\T_INTEGER.
Referenced by ilCourseObjectivesGUI\updateFinalTestLimits(), and ilCourseObjectivesGUI\updateSelfAssessmentLimits().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilLOUserResults.php.
|
protected |
Definition at line 36 of file class.ilLOUserResults.php.
Referenced by updateResultLimit().
|
protected |
Definition at line 28 of file class.ilLOUserResults.php.
| const ilLOUserResults::STATUS_COMPLETED = 1 |
Definition at line 33 of file class.ilLOUserResults.php.
Referenced by ilTrQuery\getUserObjectiveMatrix(), and ilLOTestQuestionAdapter\updateQuestionResult().
| const ilLOUserResults::STATUS_FAILED = 2 |
Definition at line 34 of file class.ilLOUserResults.php.
Referenced by ilTrQuery\getUserObjectiveMatrix(), and ilLOTestQuestionAdapter\updateQuestionResult().
| const ilLOUserResults::TYPE_INITIAL = 1 |
Definition at line 30 of file class.ilLOUserResults.php.
Referenced by ilTestLearningObjectivesStatusGUI\getUsersObjectivesResults(), ilContainerObjectiveGUI\parseLOUserResults(), and ilCourseObjectivesGUI\updateSelfAssessmentLimits().
| const ilLOUserResults::TYPE_QUALIFIED = 2 |
Definition at line 31 of file class.ilLOUserResults.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilTrQuery\getUserObjectiveMatrix(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesResults(), ilContainerObjectiveGUI\parseLOUserResults(), and ilCourseObjectivesGUI\updateFinalTestLimits().