|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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_UNDEFINED = 0 |
| 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 | ||
| ) |
| ilLOUserResults::delete | ( | ) |
Definition at line 144 of file class.ilLOUserResults.php.
References ilDBConstants\T_INTEGER.
Referenced by ilObjCourseGUI\resetObject().
Here is the caller graph for this function:
|
static |
Definition at line 131 of file class.ilLOUserResults.php.
|
static |
Definition at line 117 of file class.ilLOUserResults.php.
Referenced by ilObjCourse\_deleteUser().
Here is the caller graph for this function:
|
static |
Definition at line 152 of file class.ilLOUserResults.php.
Referenced by ilTestLP\resetCustomLPDataForUserIds().
Here is the caller graph for this function:
|
protected |
Definition at line 228 of file class.ilLOUserResults.php.
References $res, isValidStatus(), and isValidType().
Referenced by getCompletedObjectiveIds(), getCompletedObjectiveIdsByType(), getFailedObjectiveIds(), and getSuggestedObjectiveIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOUserResults::getCompletedObjectiveIds | ( | ) |
Get all objectives where the user completed the qualified test.
Definition at line 270 of file class.ilLOUserResults.php.
References ILIAS\LTI\ToolProvider\$settings, findObjectiveIds(), and ilLOSettings\getInstanceByObjId().
Here is the call graph for this function:| ilLOUserResults::getCompletedObjectiveIdsByType | ( | int | $a_type | ) |
Definition at line 254 of file class.ilLOUserResults.php.
References findObjectiveIds().
Here is the call graph for this function:
|
static |
Get completed learning objectives for user and time frame.
Definition at line 489 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 307 of file class.ilLOUserResults.php.
References $res, ILIAS\LTI\ToolProvider\$settings, ilLOSettings\getInstanceByObjId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilLOUserResults::getFailedObjectiveIds | ( | bool | $a_is_final = true | ) |
Definition at line 302 of file class.ilLOUserResults.php.
References findObjectiveIds().
Here is the call graph for this function:
|
static |
Definition at line 337 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 ilTrQuery\getObjectivesStatusForUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOUserResults::getSuggestedObjectiveIds | ( | ) |
Get all objectives where the user failed the initial test.
Definition at line 262 of file class.ilLOUserResults.php.
References findObjectiveIds().
Here is the call graph for this function:
|
static |
Definition at line 390 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, $user_id, 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 470 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 112 of file class.ilLOUserResults.php.
Referenced by findObjectiveIds().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 107 of file class.ilLOUserResults.php.
Referenced by findObjectiveIds().
Here is the caller graph for this function:
|
static |
Definition at line 62 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOTestQuestionAdapter\initUserResult(), ilLOMemberTestResultTableGUI\parse(), and ilLOTestQuestionAdapter\updateQuestionResult().
Here is the caller graph for this function:
|
static |
Definition at line 96 of file class.ilLOUserResults.php.
References $DIC, 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 195 of file class.ilLOUserResults.php.
|
static |
Definition at line 50 of file class.ilLOUserResults.php.
References $DIC, 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 38 of file class.ilLOUserResults.php.
|
protected |
Definition at line 28 of file class.ilLOUserResults.php.
Referenced by getSummarizedObjectiveStatusForLP().
| const ilLOUserResults::STATUS_COMPLETED = 1 |
Definition at line 35 of file class.ilLOUserResults.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\buildObjectiveProgressBar(), ILIAS\Containter\Content\ObjectiveRenderer\getObjectiveResultSummary(), ilTrQuery\getUserObjectiveMatrix(), and ilLOTestQuestionAdapter\updateQuestionResult().
| const ilLOUserResults::STATUS_FAILED = 2 |
Definition at line 36 of file class.ilLOUserResults.php.
Referenced by ilTrQuery\getUserObjectiveMatrix(), and ilLOTestQuestionAdapter\updateQuestionResult().
| const ilLOUserResults::TYPE_INITIAL = 1 |
Definition at line 32 of file class.ilLOUserResults.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\buildAccordionTitle(), ILIAS\Containter\Content\ObjectiveRenderer\buildObjectiveProgressBar(), ILIAS\Containter\Content\ObjectiveRenderer\getObjectiveResultSummary(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesResults(), ILIAS\Containter\Content\ObjectiveRenderer\parseLOUserResults(), ilPortfolioPageGUI\parseLOUserResults(), and ilCourseObjectivesGUI\updateSelfAssessmentLimits().
| const ilLOUserResults::TYPE_QUALIFIED = 2 |
Definition at line 33 of file class.ilLOUserResults.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\buildAccordionTitle(), ILIAS\Containter\Content\ObjectiveRenderer\buildObjectiveProgressBar(), ilTestLearningObjectivesStatusGUI\buildStatusItems(), ILIAS\Containter\Content\ObjectiveRenderer\getObjectiveResultSummary(), ilTrQuery\getUserObjectiveMatrix(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesResults(), ILIAS\Containter\Content\ObjectiveRenderer\parseLOUserResults(), ilPortfolioPageGUI\parseLOUserResults(), and ilCourseObjectivesGUI\updateFinalTestLimits().
| const ilLOUserResults::TYPE_UNDEFINED = 0 |
Definition at line 30 of file class.ilLOUserResults.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\buildAccordionTitle().