ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Service class for tests. More...
Public Member Functions | |
__construct (ilObjTest $a_object) | |
public More... | |
getPassOverviewData ($active_id, $short=false) | |
public 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 | ) |
ilTestService::buildVirtualSequence | ( | ilTestSession | $testSession | ) |
Definition at line 180 of file class.ilTestService.php.
References $DIC, $ilDB, $lng, and ilTestSession\getActiveId().
ilTestService::getManScoringQuestionGuiList | ( | $activeId, | |
$pass | |||
) |
Returns the list of answers of a users test pass and offers a scoring option.
public
integer | $active_id | Active ID of the active user |
integer | $pass | Test pass |
Definition at line 120 of file class.ilTestService.php.
References $pass, and ilObjAssessmentFolder\_getManualScoring().
ilTestService::getPassOverviewData | ( | $active_id, | |
$short = false |
|||
) |
public ilObjUser $ilUser
integer | $active_id | |
boolean | $short |
Definition at line 36 of file class.ilTestService.php.
References $DIC, $ilUser, $pass, ilObjTest\_getPass(), and ilObjTest\lookupPassResultsUpdateTimestamp().
ilTestService::getQuestionSummaryData | ( | ilTestSequenceSummaryProvider | $testSequence, |
$obligationsFilterEnabled | |||
) |
ilTestSequenceSummaryProvider | $testSequence | |
bool | $obligationsFilter |
Definition at line 245 of file class.ilTestService.php.
References $data, ilObjTest\_getSolvedQuestions(), ilTestSequenceSummaryProvider\getActiveId(), and ilTestSequenceSummaryProvider\getSequenceSummary().
ilTestService::getVirtualSequenceUserResults | ( | ilTestVirtualSequence | $virtualSequence | ) |
Definition at line 205 of file class.ilTestService.php.
References $pass, $results, ilTestVirtualSequence\getActiveId(), ilTestVirtualSequence\getQuestionsPassMap(), and ilTestVirtualSequence\getUniquePasses().
|
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>)
public
integer | $activeId |
Definition at line 159 of file class.ilTestService.php.
Referenced by ilObjTest\getManualFeedback(), and ilTestScoringGUI\saveReturnManScoringParticipantScreen().
|
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>)
public
integer | $activeId | |
boolean | $manScoringDone |
Definition at line 174 of file class.ilTestService.php.
Referenced by ilTestScoringGUI\saveManScoringParticipantScreen().
|
protected |
Definition at line 18 of file class.ilTestService.php.