ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Scoring class for tests. More...
Public Member Functions | |
__construct (ilObjTest $a_object) | |
ilTestScoringGUI constructor More... | |
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, $targetCmd='') | |
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) | |
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 | |
Private Member Functions | |
fetchActiveIdParameter () | |
fetchPassParameter ($activeId) | |
showManScoringParticipantsTable () | |
applyManScoringParticipantsFilter () | |
resetManScoringParticipantsFilter () | |
showManScoringParticipantScreen (ilPropertyFormGUI $form=null) | |
saveManScoringParticipantScreen ($redirect=true) | |
saveNextManScoringParticipantScreen () | |
saveReturnManScoringParticipantScreen () | |
buildManScoringParticipantForm ($questionGuiList, $activeId, $pass, $initValues=false) | |
sendManScoringParticipantNotification () | |
buildManScoringParticipantsTable ($withData=false) | |
Additional Inherited Members | |
Protected Member Functions inherited from ilTestServiceGUI | |
handleTabs ($activeTabId) | |
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 inherited from ilTestServiceGUI | |
$db | |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
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 34 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 134 of file class.ilTestScoringGUI.php.
References $table, buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
Definition at line 350 of file class.ilTestScoringGUI.php.
References $form, $ilCtrl, ilTestServiceGUI\$lng, $pass, $text, assQuestion\_getMaximumPoints(), assQuestion\_getReachedPoints(), ilTestService\isManScoringDone(), object, ilCheckboxInputGUI\setChecked(), ilCustomInputGUI\setHtml(), ilNonEditableValueGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 436 of file class.ilTestScoringGUI.php.
References $table, and object.
Referenced by applyManScoringParticipantsFilter(), resetManScoringParticipantsFilter(), saveNextManScoringParticipantScreen(), and showManScoringParticipantsTable().
ilTestScoringGUI::executeCommand | ( | ) |
execute command
Definition at line 90 of file class.ilTestScoringGUI.php.
References $ret, ilObjAssessmentFolder\_mananuallyScoreableQuestionTypesExists(), ilTestServiceGUI\getCommand(), and ilUtil\sendFailure().
Referenced by ilTestScoringByQuestionsGUI\__construct().
|
private |
Definition at line 54 of file class.ilTestScoringGUI.php.
References $_GET, $ilCtrl, and ilUtil\sendFailure().
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 71 of file class.ilTestScoringGUI.php.
References $_GET, $pass, object, and SCORE_LAST_PASS.
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 144 of file class.ilTestScoringGUI.php.
References $table, buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
bool | $redirect |
Definition at line 195 of file class.ilTestScoringGUI.php.
References $form, $ilCtrl, ilTestServiceGUI\$lng, $pass, ilTestServiceGUI\$tpl, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilObjUser\_lookupName(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), array, buildManScoringParticipantForm(), fetchActiveIdParameter(), fetchPassParameter(), object, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilMailNotification\setAdditionalInformation(), ilTestService\setManScoringDone(), showManScoringParticipantScreen(), and ilUtil\stripSlashes().
Referenced by saveNextManScoringParticipantScreen(), and saveReturnManScoringParticipantScreen().
|
private |
Definition at line 315 of file class.ilTestScoringGUI.php.
References $_GET, $ilCtrl, $index, ilTestServiceGUI\$participantData, $table, buildManScoringParticipantsTable(), and saveManScoringParticipantScreen().
|
private |
Definition at line 341 of file class.ilTestScoringGUI.php.
References $ilCtrl, and saveManScoringParticipantScreen().
|
private |
Definition at line 429 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 154 of file class.ilTestScoringGUI.php.
References $form, ilTestServiceGUI\$lng, $pass, $table, ilTestServiceGUI\$tpl, buildManScoringParticipantForm(), fetchActiveIdParameter(), and fetchPassParameter().
Referenced by saveManScoringParticipantScreen().
|
private |
Definition at line 125 of file class.ilTestScoringGUI.php.
References $table, ilTestServiceGUI\$tpl, and buildManScoringParticipantsTable().
Referenced by applyManScoringParticipantsFilter(), and resetManScoringParticipantsFilter().
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().