ILIAS
Release_5_0_x_branch Revision 61816
|
Scoring class for tests. More...
Public Member Functions | |
ilTestScoringGUI (ilObjTest $a_object) | |
ilTestScoringGUI constructor | |
& | executeCommand () |
execute command | |
Public Member Functions inherited from ilTestServiceGUI | |
isContextWithinTestPass () | |
setContextWithinTestPass ($contextWithinTestPass) | |
ilTestServiceGUI (ilObjTest $a_object) | |
The constructor takes the test object reference as parameter. | |
setParticipantData ($participantData) | |
getParticipantData () | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. | |
getPassOverview ($active_id, $targetclass="", $targetcommand="", $short=FALSE, $hide_details=FALSE, $adminMode=false) | |
Returns the pass overview for a given active ID. | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=FALSE, $only_answered_questions=FALSE, $show_question_only=FALSE, $show_reached_points=FALSE, $anchorNav=false) | |
Returns the list of answers of a users test pass. | |
getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=FALSE) | |
Returns the list of answers of a users test pass and offers a scoring option. | |
getResultsSignature () | |
Returns HTML code for a signature field. | |
getResultsUserdata ($testSession, $active_id, $overwrite_anonymity=FALSE) | |
Returns the user data for a test results output. | |
getCorrectSolutionOutput ($question_id, $active_id, $pass) | |
Returns an output of the solution to an answer compared to the correct solution. | |
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. | |
getResultsHeadUserAndPass ($active_id, $pass) | |
Returns the user and pass data for a test results output. | |
getQuestionResultForTestUsers ($question_id, $test_id) | |
Creates a HTML representation for the results of a given question in a test. |
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 | |
isPdfDeliveryRequest () | |
getPassDetailsOverview ($result_array, $active_id, $pass, $targetGUI, $targetCMD, $questionDetailsCMD, $questionAnchorNav) | |
buildPassDetailsOverviewTableGUI ($targetGUI, $targetCMD) | |
isGradingMessageRequired () | |
getGradingMessage ($activeId) | |
Protected Attributes inherited from ilTestServiceGUI | |
$db | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData |
Scoring class for tests.
Definition at line 17 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 145 of file class.ilTestScoringGUI.php.
References buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
Definition at line 365 of file class.ilTestScoringGUI.php.
References $ilCtrl, ilTestServiceGUI\$lng, $pass, assQuestion\_getMaximumPoints(), assQuestion\_getReachedPoints(), ilTestService\isManScoringDone(), ilCheckboxInputGUI\setChecked(), ilCustomInputGUI\setHtml(), ilTextInputGUI\setValue(), ilNonEditableValueGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 445 of file class.ilTestScoringGUI.php.
Referenced by applyManScoringParticipantsFilter(), resetManScoringParticipantsFilter(), saveNextManScoringParticipantScreen(), and showManScoringParticipantsTable().
& ilTestScoringGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 97 of file class.ilTestScoringGUI.php.
References $cmd, $ret, ilObjAssessmentFolder\_mananuallyScoreableQuestionTypesExists(), ilTestServiceGUI\getCommand(), and ilUtil\sendFailure().
|
private |
Definition at line 53 of file class.ilTestScoringGUI.php.
References $_GET, $ilCtrl, and ilUtil\sendFailure().
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 73 of file class.ilTestScoringGUI.php.
References $_GET, $pass, and SCORE_LAST_PASS.
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
ilTestScoringGUI::ilTestScoringGUI | ( | 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.
References ilTestServiceGUI\ilTestServiceGUI().
|
private |
Definition at line 155 of file class.ilTestScoringGUI.php.
References buildManScoringParticipantsTable(), and showManScoringParticipantsTable().
|
private |
Definition at line 207 of file class.ilTestScoringGUI.php.
References $ilCtrl, ilTestServiceGUI\$lng, $pass, $redirect, ilTestServiceGUI\$tpl, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilObjUser\_lookupName(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), buildManScoringParticipantForm(), fetchActiveIdParameter(), fetchPassParameter(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilMailNotification\setAdditionalInformation(), ilTestService\setManScoringDone(), showManScoringParticipantScreen(), and ilUtil\stripSlashes().
Referenced by saveNextManScoringParticipantScreen(), and saveReturnManScoringParticipantScreen().
|
private |
Definition at line 327 of file class.ilTestScoringGUI.php.
References $_GET, $ilCtrl, ilTestServiceGUI\$participantData, $redirect, buildManScoringParticipantsTable(), and saveManScoringParticipantScreen().
|
private |
Definition at line 356 of file class.ilTestScoringGUI.php.
References $ilCtrl, and saveManScoringParticipantScreen().
|
private |
Definition at line 438 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 165 of file class.ilTestScoringGUI.php.
References ilTestServiceGUI\$lng, $pass, ilTestServiceGUI\$tpl, buildManScoringParticipantForm(), fetchActiveIdParameter(), and fetchPassParameter().
Referenced by saveManScoringParticipantScreen().
|
private |
Definition at line 136 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().