ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Scoring class for tests. More...
Public Member Functions | |
__construct (ilObjTest $a_object) | |
ilTestScoringGUI constructor More... | |
getTestAccess () | |
setTestAccess ($testAccess) | |
executeCommand () | |
execute command More... | |
Public Member Functions inherited from ilTestServiceGUI | |
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) | |
Data Fields | |
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 |
Data Fields inherited from ilTestServiceGUI | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
Protected Member Functions | |
getDefaultCommand () | |
getActiveSubTabId () | |
Protected Member Functions inherited from ilTestServiceGUI | |
isPdfDeliveryRequest () | |
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... | |
Protected Attributes | |
$testAccess | |
Protected Attributes inherited from ilTestServiceGUI | |
$db | |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
Private Member Functions | |
fetchActiveIdParameter () | |
fetchPassParameter ($activeId) | |
showManScoringParticipantsTable () | |
applyManScoringParticipantsFilter () | |
resetManScoringParticipantsFilter () | |
showManScoringParticipantScreen (ilPropertyFormGUI $form=null) | |
saveManScoringParticipantScreen ($redirect=true) | |
saveNextManScoringParticipantScreen () | |
saveReturnManScoringParticipantScreen () | |
sendManScoringParticipantNotification () | |
buildManScoringParticipantsTable ($withData=false) | |
ilTestScoringGUI::__construct | ( | ilObjTest | $a_object | ) |
ilTestScoringGUI constructor
The constructor takes the test object reference as parameter
object | $a_object | Associated ilObjTest class public |
Definition at line 39 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 167 of file class.ilTestScoringGUI.php.
References $table, buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
Definition at line 497 of file class.ilTestScoringGUI.php.
References $table, and ilTestParticipantAccessFilter\getScoreParticipantsUserFilter().
Referenced by applyManScoringParticipantsFilter(), resetManScoringParticipantsFilter(), saveNextManScoringParticipantScreen(), and showManScoringParticipantsTable().
ilTestScoringGUI::executeCommand | ( | ) |
execute command
Definition at line 113 of file class.ilTestScoringGUI.php.
References $DIC, ilObjAssessmentFolder\_mananuallyScoreableQuestionTypesExists(), ilObjTestGUI\accessViolationRedirect(), getActiveSubTabId(), getDefaultCommand(), getTestAccess(), ilUtil\sendFailure(), and ilTestTabsManager\TAB_ID_MANUAL_SCORING.
|
private |
Definition at line 76 of file class.ilTestScoringGUI.php.
References $_GET, $DIC, $ilCtrl, and ilUtil\sendFailure().
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 94 of file class.ilTestScoringGUI.php.
References $_GET, $pass, and SCORE_LAST_PASS.
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
protected |
Definition at line 152 of file class.ilTestScoringGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 144 of file class.ilTestScoringGUI.php.
Referenced by executeCommand().
ilTestScoringGUI::getTestAccess | ( | ) |
Definition at line 47 of file class.ilTestScoringGUI.php.
References $testAccess.
Referenced by executeCommand(), ilTestScoringByQuestionsGUI\getAnswerDetail(), saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 177 of file class.ilTestScoringGUI.php.
References $table, buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
bool | $redirect |
Definition at line 235 of file class.ilTestScoringGUI.php.
References $DIC, $form, $ilCtrl, ilTestServiceGUI\$lng, $pass, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilObjUser\_lookupName(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), ilObjTestGUI\accessViolationRedirect(), fetchActiveIdParameter(), fetchPassParameter(), getTestAccess(), ilUtil\sendFailure(), ilMailNotification\setAdditionalInformation(), ilTestService\setManScoringDone(), showManScoringParticipantScreen(), and ilUtil\stripSlashes().
Referenced by saveNextManScoringParticipantScreen(), and saveReturnManScoringParticipantScreen().
|
private |
Definition at line 362 of file class.ilTestScoringGUI.php.
References $_GET, $DIC, $ilCtrl, $index, ilTestServiceGUI\$participantData, $table, buildManScoringParticipantsTable(), and saveManScoringParticipantScreen().
|
private |
Definition at line 389 of file class.ilTestScoringGUI.php.
References $DIC, $form, $ilCtrl, ilTestServiceGUI\$lng, $pass, $text, assQuestion\_getMaximumPoints(), assQuestion\_getReachedPoints(), ilTestService\isManScoringDone(), saveManScoringParticipantScreen(), ilCheckboxInputGUI\setChecked(), ilCustomInputGUI\setHtml(), ilNonEditableValueGUI\setValue(), and ilTextAreaInputGUI\setValue().
|
private |
Definition at line 490 of file class.ilTestScoringGUI.php.
ilTestScoringGUI::setTestAccess | ( | $testAccess | ) |
ilTestAccess | $testAccess |
Definition at line 55 of file class.ilTestScoringGUI.php.
References $DIC, and $testAccess.
|
private |
Definition at line 187 of file class.ilTestScoringGUI.php.
References $DIC, $form, ilTestServiceGUI\$lng, $pass, $table, ilTestServiceGUI\$tpl, ilObjTestGUI\accessViolationRedirect(), fetchActiveIdParameter(), fetchPassParameter(), and getTestAccess().
Referenced by saveManScoringParticipantScreen().
|
private |
Definition at line 157 of file class.ilTestScoringGUI.php.
References $DIC, $table, ilTestServiceGUI\$tpl, and buildManScoringParticipantsTable().
Referenced by applyManScoringParticipantsFilter(), and resetManScoringParticipantsFilter().
|
protected |
Definition at line 29 of file class.ilTestScoringGUI.php.
Referenced by getTestAccess(), and setTestAccess().
const ilTestScoringGUI::PART_FILTER_ACTIVE_ONLY = 1 |
Definition at line 19 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_ALL_USERS = 3 |
Definition at line 21 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_INACTIVE_ONLY = 2 |
Definition at line 20 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_MANSCORING_DONE = 4 |
Definition at line 22 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_MANSCORING_NONE = 5 |
Definition at line 23 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().