ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilObjTest $a_object) | |
checkConstraintsBeforeSaving () | |
![]() | |
__construct (ilObjTest $a_object) | |
ilTestScoringGUI constructor More... | |
getTestAccess () | |
setTestAccess ($testAccess) | |
executeCommand () | |
execute command More... | |
![]() | |
isContextResultPresentation () | |
setContextResultPresentation ($contextResultPresentation) | |
__construct (ilObjTest $a_object) | |
The constructor takes the test object reference as parameter. More... | |
setParticipantData ($participantData) | |
getParticipantData () | |
getPassOverviewTableData (ilTestSession $testSession, $passes, $withResults) | |
This method uses the data of a given test pass to create an evaluation for displaying into a table used in the ilTestEvaluationGUI. More... | |
setObjectiveOrientedContainer (ilTestObjectiveOrientedContainer $objectiveOrientedContainer) | |
getObjectiveOrientedContainer () | |
executeCommand () | |
execute command More... | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. More... | |
buildPassOverviewTableGUI ($targetGUI) | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=false, $only_answered_questions=false, $show_question_only=false, $show_reached_points=false, $anchorNav=false, ilTestQuestionRelatedObjectivesList $objectivesList=null, ilTestResultHeaderLabelBuilder $testResultHeaderLabelBuilder=null) | |
Returns the list of answers of a users test pass. More... | |
getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=false) | |
Returns the list of answers of a users test pass and offers a scoring option. More... | |
getResultsSignature () | |
Returns HTML code for a signature field. More... | |
getAdditionalUsrDataHtmlAndPopulateWindowTitle ($testSession, $active_id, $overwrite_anonymity=false) | |
Returns the user data for a test results output. More... | |
getCorrectSolutionOutput ($question_id, $active_id, $pass, ilTestQuestionRelatedObjectivesList $objectivesList=null) | |
Returns an output of the solution to an answer compared to the correct solution. More... | |
getResultsOfUserOutput ($testSession, $active_id, $pass, $targetGUI, $show_pass_details=true, $show_answers=true, $show_question_only=false, $show_reached_points=false) | |
Output of the pass overview for a test called by a test participant. More... | |
getResultsHeadUserAndPass ($active_id, $pass) | |
Returns the user and pass data for a test results output. More... | |
getQuestionResultForTestUsers ($question_id, $test_id) | |
Creates a HTML representation for the results of a given question in a test. More... | |
populatePassFinishDate ($tpl, $passFinishDate) | |
populateExamId (ilTemplate $tpl, int $activeId, int $pass) | |
getObject () | |
Data Fields | |
const | EXCEPT_FINALIZED = 1 |
const | ONLY_FINALIZED = 2 |
![]() | |
const | PART_FILTER_ACTIVE_ONLY = 1 |
const | PART_FILTER_INACTIVE_ONLY = 2 |
const | PART_FILTER_ALL_USERS = 3 |
const | PART_FILTER_MANSCORING_DONE = 4 |
const | PART_FILTER_MANSCORING_NONE = 5 |
![]() | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
Protected Member Functions | |
getDefaultCommand () | |
getActiveSubTabId () | |
showManScoringByQuestionParticipantsTable (array $manPointsPost=[]) | |
applyManScoringByQuestionFilter () | |
resetManScoringByQuestionFilter () | |
getAnswerDetail () | |
retrieveFeedback (int $active_id, int $qst_id, int $pass) | |
![]() | |
getDefaultCommand () | |
getActiveSubTabId () | |
![]() | |
isPdfDeliveryRequest () | |
buildQuestionAnswerShuffler (int $question_id, int $active_id, int $pass_id) | |
buildFixedShufflerSeed (int $question_id, int $pass_id, int $active_id) | |
getPassDetailsOverviewTableGUI ( $result_array, $active_id, $pass, $targetGUI, $targetCMD, $questionDetailsCMD, $questionAnchorNav, ilTestQuestionRelatedObjectivesList $objectivesList=null, $multipleObjectivesInvolved=true) | |
buildPassDetailsOverviewTableGUI ($targetGUI, $targetCMD) | |
isGradingMessageRequired () | |
getGradingMessageBuilder ($activeId) | |
buildQuestionRelatedObjectivesList (ilLOTestQuestionAdapter $objectivesAdapter, ilTestQuestionSequence $testSequence) | |
getFilteredTestResult ($active_id, $pass, $considerHiddenQuestions, $considerOptionalQuestions) | |
populateContent ($content) | |
buildUserTestResultsToolbarGUI () | |
outCorrectSolutionCmd () | |
outCorrectSolution () | |
Creates an output of the solution of an answer compared to the correct solution. More... | |
Private Member Functions | |
appendUserNameToModal (ilTemplate $tmp_tpl, ilTestEvaluationUserData $participant) | |
appendQuestionTitleToModal (ilTemplate $tmp_tpl, $question_id, $max_points, $title) | |
appendFormToModal (ilTemplate $tmp_tpl, $pass, $active_id, $question_id, $max_points) | |
appendSolutionAndPointsToModal (ilTemplate $tmp_tpl, $result_output, $reached_points, $max_points) | |
saveFinalization (array $finalization, int $active_id, int $qst_id, int $pass, ?string $feedback, bool $is_single_feedback) | |
doesValueExistsInPostArray (array $finalization, int $active_id, int $qst_id, int $pass) | |
Private Attributes | |
ILIAS HTTP GlobalHttpState | $http |
Additional Inherited Members | |
![]() | |
$testAccess | |
![]() | |
ILIAS Test InternalRequestService | $testrequest |
$db | |
Refinery | $refinery |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 21 of file class.ilTestScoringByQuestionsGUI.php.
ilTestScoringByQuestionsGUI::__construct | ( | ilObjTest | $a_object | ) |
Definition at line 28 of file class.ilTestScoringByQuestionsGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\FileDelivery\http().
|
private |
$pass | |
$active_id | |
$question_id | |
$max_points |
Definition at line 592 of file class.ilTestScoringByQuestionsGUI.php.
References assQuestion\_getReachedPoints(), ilObjAdvancedEditing\_getRichTextEditor(), ilNumberInputGUI\allowDecimals(), ILIAS\Repository\ctrl(), ilObjTest\getSingleManualFeedback(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilCheckboxInputGUI\setChecked(), ilTextAreaInputGUI\setValue(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
|
private |
$question_id | |
$max_points | |
$title |
Definition at line 571 of file class.ilTestScoringByQuestionsGUI.php.
References ilTestServiceGUI\$lng, ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
|
private |
$result_output | |
$reached_points | |
$max_points |
Definition at line 686 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
|
private |
Definition at line 545 of file class.ilTestScoringByQuestionsGUI.php.
References $DIC, ilTestEvaluationUserData\getName(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
|
protected |
Definition at line 434 of file class.ilTestScoringByQuestionsGUI.php.
References showManScoringByQuestionParticipantsTable().
ilTestScoringByQuestionsGUI::checkConstraintsBeforeSaving | ( | ) |
Definition at line 540 of file class.ilTestScoringByQuestionsGUI.php.
|
private |
array<numeric-string|int,array<numeric-string|int,array<numeric-string|int,bool>>> | $finalization |
Definition at line 753 of file class.ilTestScoringByQuestionsGUI.php.
Referenced by saveFinalization().
|
protected |
Definition at line 40 of file class.ilTestScoringByQuestionsGUI.php.
|
protected |
Definition at line 450 of file class.ilTestScoringByQuestionsGUI.php.
References $data, ilTestServiceGUI\$lng, assQuestion\_getSuggestedSolutionOutput(), appendFormToModal(), appendQuestionTitleToModal(), appendSolutionAndPointsToModal(), appendUserNameToModal(), ilTestScoringGUI\getTestAccess(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Definition at line 35 of file class.ilTestScoringByQuestionsGUI.php.
|
protected |
Definition at line 442 of file class.ilTestScoringByQuestionsGUI.php.
References showManScoringByQuestionParticipantsTable().
|
protected |
Definition at line 706 of file class.ilTestScoringByQuestionsGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), and ilUtil\stripSlashes().
Referenced by showManScoringByQuestionParticipantsTable().
|
private |
array<numeric-string|int,array<numeric-string|int,array<numeric-string|int,bool>>> | $finalization |
Definition at line 727 of file class.ilTestScoringByQuestionsGUI.php.
References doesValueExistsInPostArray().
Referenced by showManScoringByQuestionParticipantsTable().
|
protected |
array | $manPointsPost |
Definition at line 48 of file class.ilTestScoringByQuestionsGUI.php.
References $data, $DIC, ILIAS\LTI\ToolProvider\$key, ilTestServiceGUI\$lng, $mathJaxSetting, ilTestServiceGUI\$participantData, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), assQuestion\_getQuestionInfo(), assQuestion\_getReachedPoints(), assQuestion\_instantiateQuestion(), ilObjUser\_lookupFullname(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), ILIAS\Repository\ctrl(), ilTestParticipantAccessFilter\getScoreParticipantsUserFilter(), ilObjTest\getSingleManualFeedback(), ILIAS\FileDelivery\http(), IL_CAL_DATETIME, IL_CAL_UNIX, iljQueryUtil\initjQuery(), ilYuiUtil\initOverlay(), ilYuiUtil\initPanel(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), retrieveFeedback(), saveFinalization(), ilTestTabsManager\TAB_ID_MANUAL_SCORING, and ILIAS\Repository\tabs().
Referenced by applyManScoringByQuestionFilter(), and resetManScoringByQuestionFilter().
|
private |
Definition at line 26 of file class.ilTestScoringByQuestionsGUI.php.
const ilTestScoringByQuestionsGUI::EXCEPT_FINALIZED = 1 |
Definition at line 23 of file class.ilTestScoringByQuestionsGUI.php.
const ilTestScoringByQuestionsGUI::ONLY_FINALIZED = 2 |
Definition at line 24 of file class.ilTestScoringByQuestionsGUI.php.