ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
ilTestScoringByQuestionsGUI More...
Public Member Functions | |
__construct (ilObjTest $a_object) | |
checkConstraintsBeforeSaving () | |
![]() | |
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) | |
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) | |
![]() | |
__construct (ilObjTest $a_object) | |
ilTestScoringGUI constructor More... | |
getTestAccess () | |
setTestAccess ($testAccess) | |
executeCommand () | |
execute command More... | |
Data Fields | |
const | ONLY_FINALIZED = 1 |
const | EXCEPT_FINALIZED = 2 |
![]() | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
![]() | |
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 |
Protected Member Functions | |
getDefaultCommand () | |
getActiveSubTabId () | |
showManScoringByQuestionParticipantsTable ($manPointsPost=array()) | |
saveManScoringByQuestion ($ajax=false) | |
applyManScoringByQuestionFilter () | |
resetManScoringByQuestionFilter () | |
getAnswerDetail () | |
saveFeedback ($active_id, $qst_id, $pass, $is_single_feedback) | |
saveFinalization ($active_id, $qst_id, $pass, $feedback, $is_single_feedback) | |
doesValueExistsInPostArray ($post_value, $active_id, $qst_id, $pass) | |
![]() | |
isPdfDeliveryRequest () | |
buildQuestionAnswerShuffler (string $question_id, string $active_id, string $active_pass) | |
buildFixedShufflerSeedFromBasicSeed (string $basic_seed) | |
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... | |
![]() | |
getDefaultCommand () | |
getActiveSubTabId () | |
Private Member Functions | |
appendUserNameToModal ($tmp_tpl, $participant) | |
appendQuestionTitleToModal ($tmp_tpl, $question_id, $max_points, $title) | |
appendFormToModal ($tmp_tpl, $pass, $active_id, $question_id, $max_points) | |
appendSolutionAndPointsToModal ($tmp_tpl, $result_output, $reached_points, $max_points) | |
Additional Inherited Members | |
![]() | |
const | FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
$db | |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
![]() | |
$testAccess | |
Definition at line 15 of file class.ilTestScoringByQuestionsGUI.php.
ilTestScoringByQuestionsGUI::__construct | ( | ilObjTest | $a_object | ) |
ilObjTest | $a_object |
Definition at line 23 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
private |
ilTemplate | $tmp_tpl | |
$pass | ||
$active_id | ||
$question_id | ||
$max_points |
Definition at line 480 of file class.ilTestScoringByQuestionsGUI.php.
References $DIC, $ilCtrl, $pass, assQuestion\_getReachedPoints(), ilObjAdvancedEditing\_getRichTextEditor(), ilNumberInputGUI\allowDecimals(), ilCheckboxInputGUI\setChecked(), and ilFormPropertyGUI\setDisabled().
Referenced by getAnswerDetail().
|
private |
ilTemplate | $tmp_tpl | |
$question_id | ||
$max_points | ||
$title |
Definition at line 458 of file class.ilTestScoringByQuestionsGUI.php.
References ilTestServiceGUI\$lng.
Referenced by getAnswerDetail().
|
private |
ilTemplate | $tmp_tpl | |
$result_output | ||
$reached_points | ||
$max_points |
Definition at line 566 of file class.ilTestScoringByQuestionsGUI.php.
Referenced by getAnswerDetail().
|
private |
ilTemplate | $tmp_tpl | |
$participant |
Definition at line 431 of file class.ilTestScoringByQuestionsGUI.php.
References $DIC.
Referenced by getAnswerDetail().
|
protected |
Definition at line 323 of file class.ilTestScoringByQuestionsGUI.php.
References showManScoringByQuestionParticipantsTable().
ilTestScoringByQuestionsGUI::checkConstraintsBeforeSaving | ( | ) |
Definition at line 422 of file class.ilTestScoringByQuestionsGUI.php.
References saveManScoringByQuestion().
|
protected |
$post_value | |
$active_id | |
$qst_id | |
$pass |
Definition at line 623 of file class.ilTestScoringByQuestionsGUI.php.
Referenced by saveFeedback(), and saveFinalization().
|
protected |
Definition at line 39 of file class.ilTestScoringByQuestionsGUI.php.
|
protected |
Definition at line 342 of file class.ilTestScoringByQuestionsGUI.php.
References $_GET, $data, ilTestServiceGUI\$lng, $pass, assQuestion\_getSuggestedSolutionOutput(), appendFormToModal(), appendQuestionTitleToModal(), appendSolutionAndPointsToModal(), appendUserNameToModal(), exit, and ilTestScoringGUI\getTestAccess().
|
protected |
Definition at line 31 of file class.ilTestScoringByQuestionsGUI.php.
|
protected |
Definition at line 334 of file class.ilTestScoringByQuestionsGUI.php.
References showManScoringByQuestionParticipantsTable().
|
protected |
$active_id | |
$qst_id | |
$pass | |
$is_single_feedback |
Definition at line 588 of file class.ilTestScoringByQuestionsGUI.php.
References $_POST, $pass, doesValueExistsInPostArray(), saveFinalization(), and ilUtil\stripSlashes().
Referenced by saveManScoringByQuestion().
|
protected |
$active_id | |
$qst_id | |
$pass | |
$feedback |
Definition at line 605 of file class.ilTestScoringByQuestionsGUI.php.
References $_POST, $pass, and doesValueExistsInPostArray().
Referenced by saveFeedback().
|
protected |
bool | $ajax |
Definition at line 168 of file class.ilTestScoringByQuestionsGUI.php.
References $_POST, $DIC, ilTestServiceGUI\$participantData, $pass, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), assQuestion\_getReachedPoints(), assQuestion\_instantiateQuestion(), ilObjUser\_lookupFullname(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), exit, ilTestParticipantAccessFilter\getScoreParticipantsUserFilter(), IL_CAL_DATETIME, IL_CAL_UNIX, saveFeedback(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showManScoringByQuestionParticipantsTable().
Referenced by checkConstraintsBeforeSaving().
|
protected |
array | $manPointsPost |
Definition at line 47 of file class.ilTestScoringByQuestionsGUI.php.
References $data, $DIC, $mathJaxSetting, ilTestServiceGUI\$participantData, ilTestServiceGUI\$tpl, assQuestion\_getMaximumPoints(), assQuestion\_getQuestionInfo(), assQuestion\_getReachedPoints(), ilTestParticipantAccessFilter\getScoreParticipantsUserFilter(), iljQueryUtil\initjQuery(), ilYuiUtil\initOverlay(), ilYuiUtil\initPanel(), ilUtil\sendInfo(), and ilTestTabsManager\TAB_ID_MANUAL_SCORING.
Referenced by applyManScoringByQuestionFilter(), resetManScoringByQuestionFilter(), and saveManScoringByQuestion().
const ilTestScoringByQuestionsGUI::EXCEPT_FINALIZED = 2 |
Definition at line 18 of file class.ilTestScoringByQuestionsGUI.php.
const ilTestScoringByQuestionsGUI::ONLY_FINALIZED = 1 |
Definition at line 17 of file class.ilTestScoringByQuestionsGUI.php.