|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for ilLOUserResults:Public Member Functions | |
| __construct ($a_course_obj_id, $a_user_id) | |
| Constructor. More... | |
| delete () | |
| Delete for user and course @global type $ilDB. More... | |
| saveObjectiveResult ($a_objective_id, $a_type, $a_status, $a_result_percentage, $a_limit_percentage, $a_tries, $a_is_final) | |
| Save objective result. More... | |
| getCompletedObjectiveIdsByType ($a_type) | |
| All completed objectives by type. More... | |
| 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 ($a_is_final=true) | |
| Get all objectives where the user failed the qualified test. More... | |
| getCourseResultsForUserPresentation () | |
| Get all results for course and user. More... | |
Static Public Member Functions | |
| static | lookupResult ($a_course_obj_id, $a_user_id, $a_objective_id, $a_tst_type) |
| Lookup user result. More... | |
| static | resetFinalByObjective ($a_objective_id) |
| static | deleteResultsForUser ($a_user_id) |
| Delete all result entries for user. More... | |
| static | deleteResultsForCourse ($a_course_id) |
| Delete all result entries for course. More... | |
| static | deleteResultsFromLP ($a_course_id, array $a_user_ids, $a_remove_initial, $a_remove_qualified, array $a_objective_ids) |
| Delete all (qualified) result entries for course members. More... | |
| static | getObjectiveStatusForLP ($a_user_id, $a_obj_id, array $a_objective_ids) |
| static | getSummarizedObjectiveStatusForLP ($a_obj_id, array $a_objective_ids, $a_user_id=null) |
| static | hasResults ($a_container_id, $a_user_id) |
| static | getCompletionsOfUser ($a_user_id, $a_from_ts, $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 ($a_type=null, $a_status=null, $a_is_final=null) | |
| Find objective ids by type and/or status. More... | |
Static Protected Member Functions | |
| static | isValidType ($a_type) |
| Is given type valid? More... | |
| static | isValidStatus ($a_status) |
| Is given status valid? More... | |
Protected Attributes | |
| $course_obj_id | |
| $user_id | |
Definition at line 11 of file class.ilLOUserResults.php.
| ilLOUserResults::__construct | ( | $a_course_obj_id, | |
| $a_user_id | |||
| ) |
Constructor.
| int | $a_course_obj_id | |
| int | $a_user_id |
Definition at line 29 of file class.ilLOUserResults.php.
| ilLOUserResults::delete | ( | ) |
Delete for user and course @global type $ilDB.
Definition at line 148 of file class.ilLOUserResults.php.
|
static |
Delete all result entries for course.
| int | $a_course_id |
Definition at line 129 of file class.ilLOUserResults.php.
|
static |
Delete all result entries for user.
| int | $a_user_id |
Definition at line 107 of file class.ilLOUserResults.php.
Referenced by ilObjCourse\_deleteUser().
Here is the caller graph for this function:
|
static |
Delete all (qualified) result entries for course members.
| int | $a_course_id | |
| array | $a_user_ids | |
| bool | $a_remove_initial | |
| bool | $a_remove_qualified | |
| array | $a_objective_ids |
Definition at line 170 of file class.ilLOUserResults.php.
Referenced by ilTestLP\resetCustomLPDataForUserIds().
Here is the caller graph for this function:
|
protected |
Find objective ids by type and/or status.
| int | $a_type | |
| int | $a_status | |
| bool | $a_is_final |
Definition at line 258 of file class.ilLOUserResults.php.
References $a_type, $DIC, $ilDB, $res, $row, 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 314 of file class.ilLOUserResults.php.
References findObjectiveIds(), and ilLOSettings\getInstanceByObjId().
Here is the call graph for this function:| ilLOUserResults::getCompletedObjectiveIdsByType | ( | $a_type | ) |
All completed objectives by type.
| type | $a_type |
Definition at line 294 of file class.ilLOUserResults.php.
References $a_type, and findObjectiveIds().
Here is the call graph for this function:
|
static |
Get completed learning objectives for user and time frame.
| int | $a_user_id | |
| int | $a_from_ts | |
| int | $a_to_ts |
Definition at line 561 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, and $row.
Referenced by ilCourseLearningHistoryProvider\getEntries().
Here is the caller graph for this function:| ilLOUserResults::getCourseResultsForUserPresentation | ( | ) |
Get all results for course and user.
Definition at line 362 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, $row, $type, and ilLOSettings\getInstanceByObjId().
Here is the call graph for this function:| ilLOUserResults::getFailedObjectiveIds | ( | $a_is_final = true | ) |
Get all objectives where the user failed the qualified test.
| bool | $a_is_final |
Definition at line 352 of file class.ilLOUserResults.php.
References findObjectiveIds().
Here is the call graph for this function:
|
static |
Definition at line 396 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $res, $row, ilLOSettings\getInstanceByObjId(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, STATUS_COMPLETED, and STATUS_FAILED.
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 304 of file class.ilLOUserResults.php.
References findObjectiveIds().
Here is the call graph for this function:
|
static |
Definition at line 453 of file class.ilLOUserResults.php.
References $DIC, $GLOBALS, $ilDB, $res, $row, $user_id, ilLOSettings\getInstanceByObjId(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, STATUS_COMPLETED, and STATUS_FAILED.
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 537 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\getMainContent().
Here is the caller graph for this function:
|
staticprotected |
Is given status valid?
| int | $a_status |
Definition at line 96 of file class.ilLOUserResults.php.
Referenced by findObjectiveIds().
Here is the caller graph for this function:
|
staticprotected |
Is given type valid?
| int | $a_type |
Definition at line 85 of file class.ilLOUserResults.php.
References $a_type.
Referenced by findObjectiveIds().
Here is the caller graph for this function:
|
static |
Lookup user result.
Definition at line 39 of file class.ilLOUserResults.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilLOTestQuestionAdapter\initUserResult(), ilLOMemberTestResultTableGUI\parse(), and ilLOTestQuestionAdapter\updateQuestionResult().
Here is the caller graph for this function:
|
static |
Definition at line 70 of file class.ilLOUserResults.php.
| ilLOUserResults::saveObjectiveResult | ( | $a_objective_id, | |
| $a_type, | |||
| $a_status, | |||
| $a_result_percentage, | |||
| $a_limit_percentage, | |||
| $a_tries, | |||
| $a_is_final | |||
| ) |
Save objective result.
| 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 220 of file class.ilLOUserResults.php.
|
protected |
Definition at line 13 of file class.ilLOUserResults.php.
|
protected |
Definition at line 14 of file class.ilLOUserResults.php.
Referenced by getSummarizedObjectiveStatusForLP().
| const ilLOUserResults::STATUS_COMPLETED = 1 |
Definition at line 19 of file class.ilLOUserResults.php.
Referenced by ilContainerObjectiveGUI\buildObjectiveProgressBar(), ilContainerObjectiveGUI\getObjectiveResultSummary(), getObjectiveStatusForLP(), getSummarizedObjectiveStatusForLP(), ilTrQuery\getUserObjectiveMatrix(), ilContainerObjectiveGUI\renderTest(), and ilLOTestQuestionAdapter\updateQuestionResult().
| const ilLOUserResults::STATUS_FAILED = 2 |
Definition at line 20 of file class.ilLOUserResults.php.
Referenced by getObjectiveStatusForLP(), getSummarizedObjectiveStatusForLP(), ilTrQuery\getUserObjectiveMatrix(), and ilLOTestQuestionAdapter\updateQuestionResult().
| const ilLOUserResults::TYPE_INITIAL = 1 |
Definition at line 16 of file class.ilLOUserResults.php.
Referenced by ilContainerObjectiveGUI\buildAccordionTitle(), ilContainerObjectiveGUI\buildObjectiveProgressBar(), ilContainerObjectiveGUI\getObjectiveResultSummary(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesResults(), ilPortfolioPageGUI\parseLOUserResults(), and ilContainerObjectiveGUI\parseLOUserResults().
| const ilLOUserResults::TYPE_QUALIFIED = 2 |
Definition at line 17 of file class.ilLOUserResults.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilContainerObjectiveGUI\buildAccordionTitle(), ilContainerObjectiveGUI\buildObjectiveProgressBar(), ilContainerObjectiveGUI\getObjectiveResultSummary(), ilTrQuery\getUserObjectiveMatrix(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesResults(), ilPortfolioPageGUI\parseLOUserResults(), and ilContainerObjectiveGUI\parseLOUserResults().