ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilTestScoringByQuestionsGUI Class Reference

ilTestScoringByQuestionsGUI More...

+ Inheritance diagram for ilTestScoringByQuestionsGUI:
+ Collaboration diagram for ilTestScoringByQuestionsGUI:

Public Member Functions

 __construct (ilObjTest $a_object)
- 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.
- Public Member Functions inherited from ilTestScoringGUI
 ilTestScoringGUI (ilObjTest $a_object)
 ilTestScoringGUI constructor
executeCommand ()
 execute command

Private Member Functions

 applyManScoringByQuestionFilter ()
 resetManScoringByQuestionFilter ()

Additional Inherited Members

- Data Fields inherited from ilTestServiceGUI
 $object = null
 $service = null
 $lng
 $tpl
 $ctrl
 $ilias
 $tree
 $ref_id
- Data Fields inherited from ilTestScoringGUI
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
- 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

Detailed Description

Constructor & Destructor Documentation

ilTestScoringByQuestionsGUI::__construct ( ilObjTest  $a_object)
Parameters
ilObjTest$a_object

Definition at line 20 of file class.ilTestScoringByQuestionsGUI.php.

{
parent::__construct($a_object);
}

Member Function Documentation

ilTestScoringByQuestionsGUI::applyManScoringByQuestionFilter ( )
private

Definition at line 309 of file class.ilTestScoringByQuestionsGUI.php.

{
require_once 'Modules/Test/classes/tables/class.ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI.php';
$table->resetOffset();
$table->writeFilterToSession();
$this->showManScoringByQuestionParticipantsTable();
}
ilTestScoringByQuestionsGUI::resetManScoringByQuestionFilter ( )
private

Definition at line 321 of file class.ilTestScoringByQuestionsGUI.php.

{
require_once 'Modules/Test/classes/tables/class.ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI.php';
$table->resetOffset();
$table->resetFilter();
$this->showManScoringByQuestionParticipantsTable();
}

The documentation for this class was generated from the following file: