ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 ()
 
 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
 $db
 
 $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 public

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

40  {
41  parent::__construct($a_object);
42  }

Member Function Documentation

◆ applyManScoringParticipantsFilter()

ilTestScoringGUI::applyManScoringParticipantsFilter ( )
private

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

References $table, buildManScoringParticipantsTable(), and showManScoringParticipantsTable().

168  {
170 
171  $table->resetOffset();
172  $table->writeFilterToSession();
173 
175  }
buildManScoringParticipantsTable($withData=false)
if(empty($password)) $table
Definition: pwgen.php:24
+ Here is the call graph for this function:

◆ buildManScoringParticipantsTable()

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

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

References $table, and ilTestParticipantAccessFilter\getScoreParticipantsUserFilter().

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

498  {
499  require_once 'Modules/Test/classes/tables/class.ilTestManScoringParticipantsTableGUI.php';
501 
502  if ($withData) {
503  $participantStatusFilterValue = $table->getFilterItemByPostVar('participant_status')->getValue();
504 
505  require_once 'Modules/Test/classes/class.ilTestParticipantList.php';
506  $participantList = new ilTestParticipantList($this->object);
507 
508  $participantList->initializeFromDbRows(
509  $this->object->getTestParticipantsForManualScoring($participantStatusFilterValue)
510  );
511 
512  $participantList = $participantList->getAccessFilteredList(
514  );
515 
516  $table->setData($participantList->getParticipantsTableRows());
517  }
518 
519  return $table;
520  }
if(empty($password)) $table
Definition: pwgen.php:24
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilTestScoringGUI::executeCommand ( )

execute command

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

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

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 
128  $DIC->tabs()->activateTab(ilTestTabsManager::TAB_ID_MANUAL_SCORING);
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  }
global $DIC
Definition: saml.php:7
static accessViolationRedirect()
static _mananuallyScoreableQuestionTypesExists()
Returns the fact wether manually scoreable question types exist or not.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
+ Here is the call graph for this function:

◆ fetchActiveIdParameter()

ilTestScoringGUI::fetchActiveIdParameter ( )
private

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

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

Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().

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  }
global $DIC
Definition: saml.php:7
$_GET["client_id"]
global $ilCtrl
Definition: ilias.php:18
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
+ 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.

References $_GET, $pass, and SCORE_LAST_PASS.

Referenced by saveManScoringParticipantScreen(), and showManScoringParticipantScreen().

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
$_GET["client_id"]
+ Here is the caller graph for this function:

◆ getActiveSubTabId()

ilTestScoringGUI::getActiveSubTabId ( )
protected
Returns
string

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

Referenced by executeCommand().

153  {
154  return 'man_scoring';
155  }
+ Here is the caller graph for this function:

◆ getDefaultCommand()

ilTestScoringGUI::getDefaultCommand ( )
protected
Returns
string

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

Referenced by executeCommand().

145  {
146  return 'manscoring';
147  }
+ 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().

48  {
49  return $this->testAccess;
50  }
+ Here is the caller graph for this function:

◆ resetManScoringParticipantsFilter()

ilTestScoringGUI::resetManScoringParticipantsFilter ( )
private

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

References $table, buildManScoringParticipantsTable(), and showManScoringParticipantsTable().

178  {
180 
181  $table->resetOffset();
182  $table->resetFilter();
183 
185  }
buildManScoringParticipantsTable($withData=false)
if(empty($password)) $table
Definition: pwgen.php:24
+ 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.

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

Referenced by saveNextManScoringParticipantScreen(), and saveReturnManScoringParticipantScreen().

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 
292  $activeId,
293  $questionId,
294  $reachedPoints,
295  $maxPointsByQuestionId[$questionId],
296  $pass,
297  1,
298  $this->object->areObligationsEnabled()
299  );
300 
301  $feedback = ilUtil::stripSlashes(
302  $form->getItemByPostVar("question__{$questionId}__feedback")->getValue(),
303  false,
305  );
306 
307  $this->object->saveManualFeedback($activeId, $questionId, $pass, $feedback);
308 
309  $notificationData[$questionId] = array(
310  'points' => $reachedPoints, 'feedback' => $feedback
311  );
312  }
313 
314  include_once "./Modules/Test/classes/class.ilObjTestAccess.php";
315  include_once("./Services/Tracking/classes/class.ilLPStatusWrapper.php");
317  $this->object->getId(),
319  );
320 
321  $manScoringDone = $form->getItemByPostVar("manscoring_done")->getChecked();
322  ilTestService::setManScoringDone($activeId, $manScoringDone);
323 
324  $manScoringNotify = $form->getItemByPostVar("manscoring_notify")->getChecked();
325  if ($manScoringNotify) {
326  require_once 'Modules/Test/classes/notifications/class.ilTestManScoringParticipantNotification.php';
327 
328  $notification = new ilTestManScoringParticipantNotification(
329  $this->object->_getUserIdFromActiveId($activeId),
330  $this->object->getRefId()
331  );
332 
333  $notification->setAdditionalInformation(array(
334  'test_title' => $this->object->getTitle(),
335  'test_pass' => $pass + 1,
336  'questions_gui_list' => $questionGuiList,
337  'questions_scoring_data' => $notificationData
338  ));
339 
340  $notification->send();
341  }
342 
343  require_once './Modules/Test/classes/class.ilTestScoring.php';
344  $scorer = new ilTestScoring($this->object);
345  $scorer->setPreserveManualScores(true);
346  $scorer->recalculateSolutions();
347 
348  if ($this->object->getAnonymity() == 0) {
350  $name_real_or_anon = $user_name['firstname'] . ' ' . $user_name['lastname'];
351  } else {
352  $name_real_or_anon = $lng->txt('anonymous');
353  }
354  ilUtil::sendSuccess(sprintf($lng->txt('tst_saved_manscoring_successfully'), $pass + 1, $name_real_or_anon), true);
355  if ($redirect == true) {
356  $ilCtrl->redirect($this, 'showManScoringParticipantScreen');
357  } else {
358  return true;
359  }
360  }
showManScoringParticipantScreen(ilPropertyFormGUI $form=null)
static _lookupName($a_user_id)
lookup user name
static setManScoringDone($activeId, $manScoringDone)
stores the flag wether manscoring is done for the given test active or not within the global settings...
static _getParticipantId($active_id)
Get user id for active id.
static _getUsedHTMLTagsAsString($a_module="")
Returns a string of all allowed HTML tags for text editing.
global $DIC
Definition: saml.php:7
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.
static accessViolationRedirect()
static _getMaximumPoints($question_id)
Returns the maximum points, a learner can reach answering the question.
global $ilCtrl
Definition: ilias.php:18
if(isset($_POST['submit'])) $form
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
Class ilTestScoring.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
setAdditionalInformation(array $a_info)
Additional information for creating notification mails.
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...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveNextManScoringParticipantScreen()

ilTestScoringGUI::saveNextManScoringParticipantScreen ( )
private

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

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

363  {
364  global $DIC;
365  $ilCtrl = $DIC['ilCtrl'];
366 
368 
369  if ($this->saveManScoringParticipantScreen(false)) {
370  $participantData = $table->getInternalyOrderedDataValues();
371 
372  $nextIndex = null;
373  foreach ($participantData as $index => $participant) {
374  if ($participant['active_id'] == $_GET['active_id']) {
375  $nextIndex = $index + 1;
376  break;
377  }
378  }
379 
380  if ($nextIndex && isset($participantData[$nextIndex])) {
381  $ilCtrl->setParameter($this, 'active_id', $participantData[$nextIndex]['active_id']);
382  $ilCtrl->redirect($this, 'showManScoringParticipantScreen');
383  }
384 
385  $ilCtrl->redirectByClass("iltestscoringgui", "showManScoringParticipantsTable");
386  }
387  }
global $DIC
Definition: saml.php:7
$_GET["client_id"]
$index
Definition: metadata.php:60
global $ilCtrl
Definition: ilias.php:18
saveManScoringParticipantScreen($redirect=true)
buildManScoringParticipantsTable($withData=false)
if(empty($password)) $table
Definition: pwgen.php:24
+ Here is the call graph for this function:

◆ saveReturnManScoringParticipantScreen()

ilTestScoringGUI::saveReturnManScoringParticipantScreen ( )
private

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

References $DIC, $form, $ilCtrl, ilTestServiceGUI\$lng, $pass, $text, assQuestion\_getMaximumPoints(), assQuestion\_getReachedPoints(), ilTestService\isManScoringDone(), saveManScoringParticipantScreen(), ilCheckboxInputGUI\setChecked(), ilCustomInputGUI\setHtml(), ilNonEditableValueGUI\setValue(), and ilTextAreaInputGUI\setValue().

390  {
391  global $DIC;
392  $ilCtrl = $DIC['ilCtrl'];
393 
394  if ($this->saveManScoringParticipantScreen(false)) {
395  $ilCtrl->redirectByClass("iltestscoringgui", "showManScoringParticipantsTable");
396  }
397  }
global $DIC
Definition: saml.php:7
global $ilCtrl
Definition: ilias.php:18
saveManScoringParticipantScreen($redirect=true)
+ Here is the call graph for this function:

◆ sendManScoringParticipantNotification()

ilTestScoringGUI::sendManScoringParticipantNotification ( )
private

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

491  {
492  }

◆ setTestAccess()

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

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

References $DIC, and $testAccess.

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

◆ showManScoringParticipantScreen()

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

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

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

Referenced by saveManScoringParticipantScreen().

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  }
global $DIC
Definition: saml.php:7
static accessViolationRedirect()
if(empty($password)) $table
Definition: pwgen.php:24
+ 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.

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

Referenced by applyManScoringParticipantsFilter(), and resetManScoringParticipantsFilter().

158  {
159  global $DIC;
160  $tpl = $DIC['tpl'];
161 
163 
164  $tpl->setContent($table->getHTML());
165  }
global $DIC
Definition: saml.php:7
buildManScoringParticipantsTable($withData=false)
if(empty($password)) $table
Definition: pwgen.php:24
+ 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: