ILIAS
release_4-3 Revision
|
Scoring class for tests. More...
Public Member Functions | |
ilTestScoringGUI (ilObjTest $a_object) | |
ilTestScoringGUI constructor | |
& | executeCommand () |
execute command | |
Public Member Functions inherited from ilTestServiceGUI | |
ilTestServiceGUI (ilObjTest $a_object) | |
The constructor takes the test object reference as parameter. | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. | |
getPassOverview ($active_id, $targetclass="", $targetcommand="", $short=FALSE, $hide_details=FALSE) | |
Returns the pass overview for a given active ID. | |
getFinalStatement ($active_id) | |
Returns the final statement for a user. | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=FALSE, $only_answered_questions=FALSE, $show_question_only=FALSE, $show_reached_points=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. | |
getPassDetailsOverview ($result_array, $active_id, $pass, $targetclass="", $targetcommandsort="", $targetcommanddetails="", $standard_header=TRUE) | |
Returns the pass details overview for a given active ID and pass. | |
getResultsSignature () | |
Returns HTML code for a signature field. | |
getResultsUserdata ($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 ($active_id, $pass, $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 () | |
buildManScoringParticipantForm ($questionGuiList, $activeId, $pass, $initValues=false) | |
sendManScoringParticipantNotification () |
|
private |
Definition at line 137 of file class.ilTestScoringGUI.php.
References showManScoringParticipantsTable().
|
private |
Definition at line 299 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().
& ilTestScoringGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 84 of file class.ilTestScoringGUI.php.
References $cmd, $ret, ilObjAssessmentFolder\_mananuallyScoreableQuestionTypesExists(), ilTestServiceGUI\getCommand(), and ilUtil\sendFailure().
|
private |
Definition at line 40 of file class.ilTestScoringGUI.php.
References $_GET, $ilCtrl, and ilUtil\sendFailure().
Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().
|
private |
Definition at line 60 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 35 of file class.ilTestScoringGUI.php.
References ilTestServiceGUI\ilTestServiceGUI().
|
private |
Definition at line 148 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 199 of file class.ilTestScoringGUI.php.
References $ilCtrl, ilTestServiceGUI\$lng, $pass, ilTestServiceGUI\$tpl, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), buildManScoringParticipantForm(), fetchActiveIdParameter(), fetchPassParameter(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilMailNotification\setAdditionalInformation(), ilTestService\setManScoringDone(), showManScoringParticipantScreen(), and ilUtil\stripSlashes().
|
private |
Definition at line 367 of file class.ilTestScoringGUI.php.
|
private |
Definition at line 157 of file class.ilTestScoringGUI.php.
References ilTestServiceGUI\$lng, $pass, ilTestServiceGUI\$tpl, buildManScoringParticipantForm(), fetchActiveIdParameter(), and fetchPassParameter().
Referenced by saveManScoringParticipantScreen().
|
private |
Definition at line 123 of file class.ilTestScoringGUI.php.
References ilTestServiceGUI\$tpl.
Referenced by applyManScoringParticipantsFilter().
const ilTestScoringGUI::PART_FILTER_ACTIVE_ONLY = 1 |
Definition at line 20 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_ALL_USERS = 3 |
Definition at line 22 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_INACTIVE_ONLY = 2 |
Definition at line 21 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_MANSCORING_DONE = 4 |
Definition at line 23 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().
const ilTestScoringGUI::PART_FILTER_MANSCORING_NONE = 5 |
Definition at line 24 of file class.ilTestScoringGUI.php.
Referenced by ilTestManScoringParticipantsTableGUI\initFilter().