ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 146 of file class.ilTestScoringGUI.php.
References buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
Definition at line 371 of file class.ilTestScoringGUI.php.
References $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 451 of file class.ilTestScoringGUI.php.
References object.
Referenced by applyManScoringParticipantsFilter(), resetManScoringParticipantsFilter(), saveNextManScoringParticipantScreen(), and showManScoringParticipantsTable().
ilTestScoringGUI::executeCommand | ( | ) |
execute command
Definition at line 98 of file class.ilTestScoringGUI.php.
References $cmd, $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 74 of file class.ilTestScoringGUI.php.
References $_GET, $pass, object, and SCORE_LAST_PASS.
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 156 of file class.ilTestScoringGUI.php.
References buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
bool | $redirect |
Definition at line 208 of file class.ilTestScoringGUI.php.
References $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 331 of file class.ilTestScoringGUI.php.
References $_GET, $ilCtrl, ilTestServiceGUI\$participantData, buildManScoringParticipantsTable(), and saveManScoringParticipantScreen().
|
private |
Definition at line 361 of file class.ilTestScoringGUI.php.
References $ilCtrl, and saveManScoringParticipantScreen().
|
private |
Definition at line 444 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 166 of file class.ilTestScoringGUI.php.
References ilTestServiceGUI\$lng, $pass, ilTestServiceGUI\$tpl, buildManScoringParticipantForm(), fetchActiveIdParameter(), and fetchPassParameter().
Referenced by saveManScoringParticipantScreen().
|
private |
Definition at line 137 of file class.ilTestScoringGUI.php.
References 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().