ILIAS  release_7 Revision v7.30-3-g800a261c036
ilTestScoringGUI Class Reference

Scoring class for tests. More...

+ Inheritance diagram for ilTestScoringGUI:
+ Collaboration diagram for ilTestScoringGUI:

Public Member Functions

 __construct (ilObjTest $a_object)
 ilTestScoringGUI constructor More...
 
 getTestAccess ()
 
 setTestAccess ($testAccess)
 
 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)
 
 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)
 
 populateExamId (ilTemplate $tpl, int $activeId, int $pass)
 

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
 

Protected Member Functions

 getDefaultCommand ()
 
 getActiveSubTabId ()
 
- Protected Member Functions inherited from ilTestServiceGUI
 isPdfDeliveryRequest ()
 
 buildQuestionAnswerShuffler (string $question_id, string $active_id, string $active_pass)
 
 buildFixedShufflerSeedFromBasicSeed (string $basic_seed)
 
 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

 $testAccess
 
- Protected Attributes inherited from ilTestServiceGUI
const FIXED_SHUFFLER_SEED_MIN_LENGTH = 8
 
 $db
 
 $refinery
 
 $tabs
 
 $objCache
 
 $testSessionFactory = null
 
 $testSequenceFactory = null
 
 $participantData
 

Private Member Functions

 fetchActiveIdParameter ()
 
 fetchPassParameter ($activeId)
 
 showManScoringParticipantsTable ()
 
 applyManScoringParticipantsFilter ()
 
 resetManScoringParticipantsFilter ()
 
 showManScoringParticipantScreen (ilPropertyFormGUI $form=null)
 
 saveManScoringParticipantScreen ($redirect=true)
 
 saveNextManScoringParticipantScreen ()
 
 saveReturnManScoringParticipantScreen ()
 
 sendManScoringParticipantNotification ()
 
 buildManScoringParticipantsTable ($withData=false)
 

Detailed Description

Scoring class for tests.

Author
Helmut Schottmüller helmu.nosp@m.t.sc.nosp@m.hottm.nosp@m.uell.nosp@m.er@ma.nosp@m.c.co.nosp@m.m
Björn Heyser bheys.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 17 of file class.ilTestScoringGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilTestScoringGUI::__construct ( ilObjTest  $a_object)

ilTestScoringGUI constructor

The constructor takes the test object reference as parameter

Parameters
object$a_objectAssociated ilObjTest class @access public

Reimplemented from ilTestServiceGUI.

Reimplemented in ilTestScoringByQuestionsGUI.

Definition at line 39 of file class.ilTestScoringGUI.php.

40 {
41 parent::__construct($a_object);
42 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ applyManScoringParticipantsFilter()

ilTestScoringGUI::applyManScoringParticipantsFilter ( )
private

Definition at line 167 of file class.ilTestScoringGUI.php.

168 {
169 $table = $this->buildManScoringParticipantsTable(false);
170
171 $table->resetOffset();
172 $table->writeFilterToSession();
173
175 }
buildManScoringParticipantsTable($withData=false)

References buildManScoringParticipantsTable(), and showManScoringParticipantsTable().

+ Here is the call graph for this function:

◆ buildManScoringParticipantsTable()

ilTestScoringGUI::buildManScoringParticipantsTable (   $withData = false)
private
Returns
ilTestManScoringParticipantsTableGUI

Definition at line 521 of file class.ilTestScoringGUI.php.

522 {
523 require_once 'Modules/Test/classes/tables/class.ilTestManScoringParticipantsTableGUI.php';
524 $table = new ilTestManScoringParticipantsTableGUI($this);
525
526 if ($withData) {
527 $participantStatusFilterValue = $table->getFilterItemByPostVar('participant_status')->getValue();
528
529 require_once 'Modules/Test/classes/class.ilTestParticipantList.php';
530 $participantList = new ilTestParticipantList($this->object);
531
532 $participantList->initializeFromDbRows(
533 $this->object->getTestParticipantsForManualScoring($participantStatusFilterValue)
534 );
535
536 $participantList = $participantList->getAccessFilteredList(
538 );
539
540 $table->setData($participantList->getParticipantsTableRows());
541 }
542
543 return $table;
544 }

References ilTestParticipantAccessFilter\getScoreParticipantsUserFilter().

Referenced by applyManScoringParticipantsFilter(), resetManScoringParticipantsFilter(), saveNextManScoringParticipantScreen(), and showManScoringParticipantsTable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilTestScoringGUI::executeCommand ( )

execute command

Reimplemented from ilTestServiceGUI.

Definition at line 113 of file class.ilTestScoringGUI.php.

114 {
115 global $DIC; /* @var ILIAS\DI\Container $DIC */
116
117 if (!$this->getTestAccess()->checkScoreParticipantsAccess()) {
119 }
120
121 require_once 'Modules/Test/classes/class.ilObjAssessmentFolder.php';
123 // allow only if at least one question type is marked for manual scoring
124 ilUtil::sendFailure($this->lng->txt("manscoring_not_allowed"), true);
125 $this->ctrl->redirectByClass("ilobjtestgui", "infoScreen");
126 }
127
129 $this->buildSubTabs($this->getActiveSubTabId());
130
131 $nextClass = $this->ctrl->getNextClass($this);
132 $command = $this->ctrl->getCmd($this->getDefaultCommand());
133
134 switch ($nextClass) {
135 default:
136 $this->$command();
137 break;
138 }
139 }
static _mananuallyScoreableQuestionTypesExists()
Returns the fact wether manually scoreable question types exist or not.
static accessViolationRedirect()
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
global $DIC
Definition: goto.php:24

References $DIC, ilObjAssessmentFolder\_mananuallyScoreableQuestionTypesExists(), ilObjTestGUI\accessViolationRedirect(), getActiveSubTabId(), getDefaultCommand(), getTestAccess(), ilUtil\sendFailure(), and ilTestTabsManager\TAB_ID_MANUAL_SCORING.

+ Here is the call graph for this function:

◆ fetchActiveIdParameter()

ilTestScoringGUI::fetchActiveIdParameter ( )
private

Definition at line 76 of file class.ilTestScoringGUI.php.

77 {
78 global $DIC;
79 $ilCtrl = $DIC['ilCtrl'];
80
81 // fetch active_id
82
83 if (!isset($_GET['active_id']) || !(int) $_GET['active_id']) {
84 // allow only write access
85 ilUtil::sendFailure('no active id given!', true);
86 $ilCtrl->redirectByClass("ilobjtestgui", "infoScreen");
87 } else {
88 $activeId = (int) $_GET['active_id'];
89 }
90
91 return $activeId;
92 }
$_GET["client_id"]

References $_GET, $DIC, and ilUtil\sendFailure().

Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fetchPassParameter()

ilTestScoringGUI::fetchPassParameter (   $activeId)
private

Definition at line 94 of file class.ilTestScoringGUI.php.

95 {
96 // fetch pass nr
97
98 $maxPass = $this->object->_getMaxPass($activeId);
99 if (isset($_GET["pass"]) && 0 <= (int) $_GET["pass"] && $maxPass >= (int) $_GET["pass"]) {
100 $pass = $_GET["pass"];
101 } elseif ($this->object->getPassScoring() == SCORE_LAST_PASS) {
102 $pass = $maxPass;
103 } else {
104 $pass = $this->object->_getResultPass($activeId);
105 }
106
107 return $pass;
108 }
const SCORE_LAST_PASS

References $_GET, $pass, and SCORE_LAST_PASS.

Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().

+ Here is the caller graph for this function:

◆ getActiveSubTabId()

ilTestScoringGUI::getActiveSubTabId ( )
protected
Returns
string

Reimplemented in ilTestScoringByQuestionsGUI.

Definition at line 152 of file class.ilTestScoringGUI.php.

153 {
154 return 'man_scoring';
155 }

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getDefaultCommand()

ilTestScoringGUI::getDefaultCommand ( )
protected
Returns
string

Reimplemented in ilTestScoringByQuestionsGUI.

Definition at line 144 of file class.ilTestScoringGUI.php.

145 {
146 return 'manscoring';
147 }

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getTestAccess()

ilTestScoringGUI::getTestAccess ( )
Returns
ilTestAccess

Definition at line 47 of file class.ilTestScoringGUI.php.

References $testAccess.

Referenced by executeCommand(), ilTestScoringByQuestionsGUI\getAnswerDetail(), saveManScoringParticipantScreen(), and showManScoringParticipantScreen().

+ Here is the caller graph for this function:

◆ resetManScoringParticipantsFilter()

ilTestScoringGUI::resetManScoringParticipantsFilter ( )
private

Definition at line 177 of file class.ilTestScoringGUI.php.

178 {
179 $table = $this->buildManScoringParticipantsTable(false);
180
181 $table->resetOffset();
182 $table->resetFilter();
183
185 }

References buildManScoringParticipantsTable(), and showManScoringParticipantsTable().

+ Here is the call graph for this function:

◆ saveManScoringParticipantScreen()

ilTestScoringGUI::saveManScoringParticipantScreen (   $redirect = true)
private
Parameters
bool$redirect
Returns
bool Returns a boolean flag, whether or not everything worked fine

Definition at line 235 of file class.ilTestScoringGUI.php.

236 {
237 global $DIC;
238 $ilCtrl = $DIC['ilCtrl'];
239 $lng = $DIC['lng'];
240
241 $activeId = $this->fetchActiveIdParameter();
242
243 if (!$this->getTestAccess()->checkScoreParticipantsAccessForActiveId($activeId)) {
245 }
246
247 $pass = $this->fetchPassParameter($activeId);
248
249 $questionGuiList = $this->service->getManScoringQuestionGuiList($activeId, $pass);
250 $form = $this->buildManScoringParticipantForm($questionGuiList, $activeId, $pass, false);
251
252 $form->setValuesByPost();
253
254 if (!$form->checkInput()) {
255 ilUtil::sendFailure(sprintf($lng->txt('tst_save_manscoring_failed'), $pass + 1));
257 return false;
258 }
259
260 include_once "./Modules/TestQuestionPool/classes/class.assQuestion.php";
261
262 $maxPointsByQuestionId = array();
263 $maxPointsExceeded = false;
264 foreach ($questionGuiList as $questionId => $questionGui) {
265 $reachedPoints = $form->getItemByPostVar("question__{$questionId}__points")->getValue();
266 $maxPoints = assQuestion::_getMaximumPoints($questionId);
267
268 if ($reachedPoints > $maxPoints) {
269 $maxPointsExceeded = true;
270
271 $form->getItemByPostVar("question__{$questionId}__points")->setAlert(sprintf(
272 $lng->txt('tst_manscoring_maxpoints_exceeded_input_alert'),
273 $maxPoints
274 ));
275 }
276
277 $maxPointsByQuestionId[$questionId] = $maxPoints;
278 }
279
280 if ($maxPointsExceeded) {
281 ilUtil::sendFailure(sprintf($lng->txt('tst_save_manscoring_failed'), $pass + 1));
283 return false;
284 }
285
286 include_once "./Services/AdvancedEditing/classes/class.ilObjAdvancedEditing.php";
287
288 foreach ($questionGuiList as $questionId => $questionGui) {
289 $reachedPoints = $form->getItemByPostVar("question__{$questionId}__points")->getValue();
290
291 $finalized = (bool) $form->getItemByPostVar("{$questionId}__evaluated")->getchecked();
292
293 // fix #35543: save manual points only if they differ from the existing points
294 // this prevents a question being set to "answered" if only feedback is entered
295 $oldPoints = assQuestion::_getReachedPoints($activeId, $questionId, $pass);
296 if ($reachedPoints != $oldPoints) {
298 $activeId,
299 $questionId,
300 $reachedPoints,
301 $maxPointsByQuestionId[$questionId],
302 $pass,
303 1,
304 $this->object->areObligationsEnabled()
305 );
306 }
307
308 $feedback = ilUtil::stripSlashes(
309 $form->getItemByPostVar("question__{$questionId}__feedback")->getValue(),
310 false,
312 );
313
314 $this->object->saveManualFeedback($activeId, $questionId, $pass, $feedback, $finalized, true);
315
316 $notificationData[$questionId] = array(
317 'points' => $reachedPoints, 'feedback' => $feedback
318 );
319 }
320
321 include_once "./Modules/Test/classes/class.ilObjTestAccess.php";
322 include_once("./Services/Tracking/classes/class.ilLPStatusWrapper.php");
324 $this->object->getId(),
326 );
327
328 $manScoringDone = $form->getItemByPostVar("manscoring_done")->getChecked();
329 ilTestService::setManScoringDone($activeId, $manScoringDone);
330
331 $manScoringNotify = $form->getItemByPostVar("manscoring_notify")->getChecked();
332 if ($manScoringNotify) {
333 require_once 'Modules/Test/classes/notifications/class.ilTestManScoringParticipantNotification.php';
334
335 $notification = new ilTestManScoringParticipantNotification(
336 $this->object->_getUserIdFromActiveId($activeId),
337 $this->object->getRefId()
338 );
339
340 $notification->setAdditionalInformation(array(
341 'test_title' => $this->object->getTitle(),
342 'test_pass' => $pass + 1,
343 'questions_gui_list' => $questionGuiList,
344 'questions_scoring_data' => $notificationData
345 ));
346
347 $notification->send();
348 }
349
350 require_once './Modules/Test/classes/class.ilTestScoring.php';
351 $scorer = new ilTestScoring($this->object);
352 $scorer->setPreserveManualScores(true);
353 $scorer->recalculateSolutions();
354
355 if ($this->object->getAnonymity() == 0) {
357 $name_real_or_anon = $user_name['firstname'] . ' ' . $user_name['lastname'];
358 } else {
359 $name_real_or_anon = $lng->txt('anonymous');
360 }
361 ilUtil::sendSuccess(sprintf($lng->txt('tst_saved_manscoring_successfully'), $pass + 1, $name_real_or_anon), true);
362 if ($redirect == true) {
363 $ilCtrl->redirect($this, 'showManScoringParticipantScreen');
364 } else {
365 return true;
366 }
367 }
static _getReachedPoints($active_id, $question_id, $pass=null)
Returns the points, a learner has reached answering the question.
static _getMaximumPoints($question_id)
Returns the maximum points, a learner can reach answering the question.
static _setReachedPoints($active_id, $question_id, $points, $maxpoints, $pass, $manualscoring, $obligationsEnabled)
Sets the points, a learner has reached answering the question Additionally objective results are upda...
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.
static _getUsedHTMLTagsAsString($a_module="")
Returns a string of all allowed HTML tags for text editing.
static _getParticipantId($active_id)
Get user id for active id.
static _lookupName($a_user_id)
lookup user name
showManScoringParticipantScreen(ilPropertyFormGUI $form=null)
Class ilTestScoring.
static setManScoringDone($activeId, $manScoringDone)
stores the flag wether manscoring is done for the given test active or not within the global settings...
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled

References $DIC, ilTestServiceGUI\$lng, $pass, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), assQuestion\_getReachedPoints(), ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilObjUser\_lookupName(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), ilObjTestGUI\accessViolationRedirect(), fetchActiveIdParameter(), fetchPassParameter(), getTestAccess(), ilUtil\sendFailure(), ilTestService\setManScoringDone(), showManScoringParticipantScreen(), and ilUtil\stripSlashes().

Referenced by saveNextManScoringParticipantScreen(), and saveReturnManScoringParticipantScreen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveNextManScoringParticipantScreen()

ilTestScoringGUI::saveNextManScoringParticipantScreen ( )
private

Definition at line 369 of file class.ilTestScoringGUI.php.

370 {
371 global $DIC;
372 $ilCtrl = $DIC['ilCtrl'];
373
374 $table = $this->buildManScoringParticipantsTable(true);
375
376 if ($this->saveManScoringParticipantScreen(false)) {
377 $participantData = $table->getInternalyOrderedDataValues();
378
379 $nextIndex = null;
380 foreach ($participantData as $index => $participant) {
381 if ($participant['active_id'] == $_GET['active_id']) {
382 $nextIndex = $index + 1;
383 break;
384 }
385 }
386
387 if ($nextIndex && isset($participantData[$nextIndex])) {
388 $ilCtrl->setParameter($this, 'active_id', $participantData[$nextIndex]['active_id']);
389 $ilCtrl->redirect($this, 'showManScoringParticipantScreen');
390 }
391
392 $ilCtrl->redirectByClass("iltestscoringgui", "showManScoringParticipantsTable");
393 }
394 }
saveManScoringParticipantScreen($redirect=true)
$index
Definition: metadata.php:128

References $_GET, $DIC, $index, ilTestServiceGUI\$participantData, buildManScoringParticipantsTable(), and saveManScoringParticipantScreen().

+ Here is the call graph for this function:

◆ saveReturnManScoringParticipantScreen()

ilTestScoringGUI::saveReturnManScoringParticipantScreen ( )
private

Definition at line 396 of file class.ilTestScoringGUI.php.

397 {
398 global $DIC;
399 $ilCtrl = $DIC['ilCtrl'];
400
401 if ($this->saveManScoringParticipantScreen(false)) {
402 $ilCtrl->redirectByClass("iltestscoringgui", "showManScoringParticipantsTable");
403 }
404 }

References $DIC, and saveManScoringParticipantScreen().

+ Here is the call graph for this function:

◆ sendManScoringParticipantNotification()

ilTestScoringGUI::sendManScoringParticipantNotification ( )
private

Definition at line 514 of file class.ilTestScoringGUI.php.

515 {
516 }

◆ setTestAccess()

ilTestScoringGUI::setTestAccess (   $testAccess)
Parameters
ilTestAccess$testAccess

Definition at line 55 of file class.ilTestScoringGUI.php.

56 {
57 $this->testAccess = $testAccess;
58 }

References $testAccess.

◆ showManScoringParticipantScreen()

ilTestScoringGUI::showManScoringParticipantScreen ( ilPropertyFormGUI  $form = null)
private

Definition at line 187 of file class.ilTestScoringGUI.php.

188 {
189 global $DIC;
190 $tpl = $DIC['tpl'];
191 $lng = $DIC['lng'];
192
193 $activeId = $this->fetchActiveIdParameter();
194
195 if (!$this->getTestAccess()->checkScoreParticipantsAccessForActiveId($activeId)) {
197 }
198
199 $pass = $this->fetchPassParameter($activeId);
200
201 $contentHTML = '';
202
203 // pass overview table
204 require_once 'Modules/Test/classes/tables/class.ilTestPassManualScoringOverviewTableGUI.php';
205 $table = new ilTestPassManualScoringOverviewTableGUI($this, 'showManScoringParticipantScreen');
206
207 $userId = $this->object->_getUserIdFromActiveId($activeId);
208 $userFullname = $this->object->userLookupFullName($userId, false, true);
209 $tableTitle = sprintf($lng->txt('tst_pass_overview_for_participant'), $userFullname);
210 $table->setTitle($tableTitle);
211
212 $passOverviewData = $this->service->getPassOverviewData($activeId);
213 $table->setData($passOverviewData['passes']);
214
215 $contentHTML .= $table->getHTML() . '<br />';
216
217 // pass scoring form
218
219 if ($form === null) {
220 $questionGuiList = $this->service->getManScoringQuestionGuiList($activeId, $pass);
221 $form = $this->buildManScoringParticipantForm($questionGuiList, $activeId, $pass, true);
222 }
223
224 $contentHTML .= $form->getHTML();
225
226 // set content
227
228 $tpl->setContent($contentHTML);
229 }

References $DIC, ilTestServiceGUI\$lng, $pass, ilTestServiceGUI\$tpl, ilObjTestGUI\accessViolationRedirect(), fetchActiveIdParameter(), fetchPassParameter(), and getTestAccess().

Referenced by saveManScoringParticipantScreen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showManScoringParticipantsTable()

ilTestScoringGUI::showManScoringParticipantsTable ( )
private

Definition at line 157 of file class.ilTestScoringGUI.php.

158 {
159 global $DIC;
160 $tpl = $DIC['tpl'];
161
162 $table = $this->buildManScoringParticipantsTable(true);
163
164 $tpl->setContent($table->getHTML());
165 }

References $DIC, ilTestServiceGUI\$tpl, and buildManScoringParticipantsTable().

Referenced by applyManScoringParticipantsFilter(), and resetManScoringParticipantsFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $testAccess

ilTestScoringGUI::$testAccess
protected

Definition at line 29 of file class.ilTestScoringGUI.php.

Referenced by getTestAccess(), and setTestAccess().

◆ PART_FILTER_ACTIVE_ONLY

const ilTestScoringGUI::PART_FILTER_ACTIVE_ONLY = 1

◆ PART_FILTER_ALL_USERS

const ilTestScoringGUI::PART_FILTER_ALL_USERS = 3

◆ PART_FILTER_INACTIVE_ONLY

const ilTestScoringGUI::PART_FILTER_INACTIVE_ONLY = 2

◆ PART_FILTER_MANSCORING_DONE

const ilTestScoringGUI::PART_FILTER_MANSCORING_DONE = 4

◆ PART_FILTER_MANSCORING_NONE

const ilTestScoringGUI::PART_FILTER_MANSCORING_NONE = 5

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