|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Service class for tests. More...
Collaboration diagram for ilTestService:Public Member Functions | |
| __construct (ilObjTest $a_object) | |
| @access public More... | |
| getPassOverviewData ($active_id, $short=false) | |
| @access public @global ilObjUser $ilUser More... | |
| getManScoringQuestionGuiList ($activeId, $pass) | |
| Returns the list of answers of a users test pass and offers a scoring option. More... | |
| buildVirtualSequence (ilTestSession $testSession) | |
| getVirtualSequenceUserResults (ilTestVirtualSequence $virtualSequence) | |
| getQuestionSummaryData (ilTestSequenceSummaryProvider $testSequence, $obligationsFilterEnabled) | |
Static Public Member Functions | |
| static | isManScoringDone ($activeId) |
| reads the flag wether manscoring is done for the given test active or not from the global settings (scope: assessment / key: manscoring_done_<activeId>) More... | |
| static | setManScoringDone ($activeId, $manScoringDone) |
| stores the flag wether manscoring is done for the given test active or not within the global settings (scope: assessment / key: manscoring_done_<activeId>) More... | |
Protected Attributes | |
| $object = null | |
| ilTestService::__construct | ( | ilObjTest | $a_object | ) |
@access public
| ilObjTest | $a_object |
Definition at line 24 of file class.ilTestService.php.
| ilTestService::buildVirtualSequence | ( | ilTestSession | $testSession | ) |
Definition at line 192 of file class.ilTestService.php.
References $ilDB, $lng, and ilTestSession\getActiveId().
Here is the call graph for this function:| ilTestService::getManScoringQuestionGuiList | ( | $activeId, | |
| $pass | |||
| ) |
Returns the list of answers of a users test pass and offers a scoring option.
@access public
| integer | $active_id | Active ID of the active user |
| integer | $pass | Test pass |
Definition at line 128 of file class.ilTestService.php.
References $pass, and ilObjAssessmentFolder\_getManualScoring().
Here is the call graph for this function:| ilTestService::getPassOverviewData | ( | $active_id, | |
$short = false |
|||
| ) |
@access public @global ilObjUser $ilUser
| integer | $active_id | |
| boolean | $short |
Definition at line 36 of file class.ilTestService.php.
References $ilUser, $pass, and ilObjTest\_getPass().
Here is the call graph for this function:| ilTestService::getQuestionSummaryData | ( | ilTestSequenceSummaryProvider | $testSequence, |
| $obligationsFilterEnabled | |||
| ) |
| ilTestSequenceSummaryProvider | $testSequence | |
| bool | $obligationsFilter |
Definition at line 258 of file class.ilTestService.php.
References $data, ilObjTest\_getSolvedQuestions(), ilTestSequenceSummaryProvider\getActiveId(), and ilTestSequenceSummaryProvider\getSequenceSummary().
Here is the call graph for this function:| ilTestService::getVirtualSequenceUserResults | ( | ilTestVirtualSequence | $virtualSequence | ) |
Definition at line 217 of file class.ilTestService.php.
References $pass, $results, ilTestVirtualSequence\getActiveId(), ilTestVirtualSequence\getQuestionsPassMap(), and ilTestVirtualSequence\getUniquePasses().
Here is the call graph for this function:
|
static |
reads the flag wether manscoring is done for the given test active or not from the global settings (scope: assessment / key: manscoring_done_<activeId>)
@access public
| integer | $activeId |
Definition at line 171 of file class.ilTestService.php.
Referenced by ilTestScoringGUI\buildManScoringParticipantForm().
Here is the caller graph for this function:
|
static |
stores the flag wether manscoring is done for the given test active or not within the global settings (scope: assessment / key: manscoring_done_<activeId>)
@access public
| integer | $activeId | |
| boolean | $manScoringDone |
Definition at line 186 of file class.ilTestService.php.
Referenced by ilTestScoringGUI\saveManScoringParticipantScreen().
Here is the caller graph for this function:
|
protected |
Definition at line 18 of file class.ilTestService.php.