ILIAS  trunk Revision v11.0_alpha-1838-g59fc79e306b
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Test\Presentation\TabsManager Class Reference
+ Collaboration diagram for ILIAS\Test\Presentation\TabsManager:

Public Member Functions

 __construct (private readonly \ilTabsGUI $tabs, private readonly \ilLanguage $lng, private readonly \ilCtrlInterface $ctrl, private readonly \ilAccess $access, private readonly \ilTestAccess $test_access, private readonly \ilObjTest $test_object, private readonly \ilTestObjectiveOrientedContainer $objective_parent, private readonly \ilTestSession $test_session)
 
 activateTab (string $tab_id)
 
 activateSubTab (string $sub_tab_id)
 
 resetTabsAndAddBacklink (string $back_link_target)
 
 getParentBackLabel ()
 
 setParentBackLabel (?string $parent_back_label)
 
 getParentBackHref ()
 
 setParentBackHref (?string $parent_back_href)
 
 hasParentBackLink ()
 
 perform ()
 
 getQuestionsSubTabs ()
 
 getSettingsSubTabs ()
 
 needsYourResultsTab ()
 
 needsLoResultsSubTab ()
 
 needsHighSoreSubTab ()
 
 needsSkillResultsSubTab ()
 
 needsYourSolutionsSubTab ()
 
 getYourResultsSubTabs ()
 

Data Fields

const TAB_ID_QUESTIONS = 'assQuestions'
 (Sub-)Tab ID constants More...
 
const SUBTAB_ID_QST_LIST_VIEW = 'qst_list_view'
 
const SUBTAB_ID_QST_PAGE_VIEW = 'qst_page_view'
 
const TAB_ID_TEST = 'test'
 
const TAB_ID_INFOSCREEN = 'info_short'
 
const TAB_ID_SETTINGS = 'settings'
 
const SUBTAB_ID_GENERAL_SETTINGS = 'general'
 
const TAB_ID_LEARNING_PROGRESS = 'learning_progress'
 
const TAB_ID_MANUAL_SCORING = 'manscoring'
 
const TAB_ID_CORRECTION = 'scoringadjust'
 
const TAB_ID_HISTORY = 'history'
 
const TAB_ID_META_DATA = 'meta_data'
 
const TAB_ID_EXPORT = 'export'
 
const TAB_ID_PERMISSIONS = 'perm_settings'
 
const TAB_ID_PARTICIPANTS = 'participants'
 
const TAB_ID_YOUR_RESULTS = 'your_results'
 
const SUBTAB_ID_MY_RESULTS = 'myresults'
 
const SUBTAB_ID_LO_RESULTS = 'loresults'
 
const SUBTAB_ID_HIGHSCORE = 'highscore'
 
const SUBTAB_ID_SKILL_RESULTS = 'skillresults'
 
const SUBTAB_ID_MY_SOLUTIONS = 'mysolutions'
 
const SETTINGS_SUBTAB_ID_MARK_SCHEMA = 'mark_schema'
 
const SETTINGS_SUBTAB_ID_SCORING = 'scoring'
 
const SETTINGS_SUBTAB_ID_EDIT_INTRODUCTION_PAGE = 'edit_introduction'
 
const SETTINGS_SUBTAB_ID_EDIT_CONCLUSION_PAGE = 'edit_concluding_remarks'
 
const SETTINGS_SUBTAB_ID_ASSIGN_SKILL_TRESHOLDS = 'tst_skl_sub_tab_thresholds'
 
const SETTINGS_SUBTAB_ID_ASSIGN_SKILLS_TO_QUESTIONS = 'qpl_skl_sub_tab_quest_assign'
 

Protected Member Functions

 isReadAccessGranted ()
 
 isWriteAccessGranted ()
 
 isHistoryAccessGranted ()
 
 isPermissionsAccessGranted ()
 
 isLpAccessGranted ()
 
 checkParticipantsTabAccess ()
 
 checkScoreParticipantsTabAccess ()
 
 isTabsConfigSetupRequired ()
 
 setupTabsGuiConfig ()
 
 getBrowseForQuestionsTab ()
 
 getRandomQuestionsTab ()
 
 needsParticipantsTab ()
 
 needsTimeExtensionSubTab ()
 
 getParticipantsTabTarget ()
 
 getYourResultsTabTarget ()
 
 needsYourResultsSubTab ()
 

Protected Attributes

string $parent_back_href = null
 
string $parent_back_label = null
 

Private Attributes

const SETTINGS_SUBTAB_ID_GENERAL = 'general'
 
const SETTINGS_SUBTAB_ID_CERTIFICATE = 'certificate'
 
const SETTINGS_SUBTAB_ID_PERSONAL_DEFAULT_SETTINGS = 'tst_default_settings'
 
const QUESTIONS_SUBTAB_ID_RANDOM_SETTINGS = 'tst_rnd_quest_cfg_tab_general'
 
const QUESTIONS_SUBTAB_ID_RANDOM_POOLS = 'tst_rnd_quest_cfg_tab_pool'
 

Detailed Description

Author
Björn Heyser bheys.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de

Definition at line 32 of file TabsManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Test\Presentation\TabsManager::__construct ( private readonly \ilTabsGUI  $tabs,
private readonly \ilLanguage  $lng,
private readonly \ilCtrlInterface  $ctrl,
private readonly \ilAccess  $access,
private readonly \ilTestAccess  $test_access,
private readonly \ilObjTest  $test_object,
private readonly \ilTestObjectiveOrientedContainer  $objective_parent,
private readonly \ilTestSession  $test_session 
)

Definition at line 79 of file TabsManager.php.

88  {
89  }

Member Function Documentation

◆ activateSubTab()

ILIAS\Test\Presentation\TabsManager::activateSubTab ( string  $sub_tab_id)

Definition at line 102 of file TabsManager.php.

References ILIAS\Repository\tabs().

102  : void
103  {
104  switch ($sub_tab_id) {
105  case self::SUBTAB_ID_MY_RESULTS:
106  case self::SUBTAB_ID_LO_RESULTS:
107  case self::SUBTAB_ID_HIGHSCORE:
108  case self::SUBTAB_ID_SKILL_RESULTS:
109  case self::SUBTAB_ID_MY_SOLUTIONS:
110 
111  case self::SUBTAB_ID_QST_LIST_VIEW:
112  case self::SUBTAB_ID_QST_PAGE_VIEW:
113 
114  case self::SETTINGS_SUBTAB_ID_GENERAL:
115  case self::SETTINGS_SUBTAB_ID_MARK_SCHEMA:
116  case self::SETTINGS_SUBTAB_ID_SCORING:
117  case self::SETTINGS_SUBTAB_ID_EDIT_INTRODUCTION_PAGE:
118  case self::SETTINGS_SUBTAB_ID_EDIT_CONCLUSION_PAGE:
119  case self::SETTINGS_SUBTAB_ID_CERTIFICATE:
120  case self::SETTINGS_SUBTAB_ID_PERSONAL_DEFAULT_SETTINGS:
121  $this->tabs->activateSubTab($sub_tab_id);
122  }
123  }
+ Here is the call graph for this function:

◆ activateTab()

ILIAS\Test\Presentation\TabsManager::activateTab ( string  $tab_id)

Definition at line 91 of file TabsManager.php.

References ILIAS\Repository\tabs().

91  : void
92  {
93  switch ($tab_id) {
94  case self::TAB_ID_PARTICIPANTS:
95  case self::TAB_ID_YOUR_RESULTS:
96  case self::TAB_ID_SETTINGS:
97  case self::TAB_ID_TEST:
98  $this->tabs->activateTab($tab_id);
99  }
100  }
+ Here is the call graph for this function:

◆ checkParticipantsTabAccess()

ILIAS\Test\Presentation\TabsManager::checkParticipantsTabAccess ( )
protected

Definition at line 190 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\needsParticipantsTab().

190  : bool
191  {
192  if ($this->test_access->checkManageParticipantsAccess()
193  || $this->test_access->checkParticipantsResultsAccess()) {
194  return true;
195  }
196 
197  return false;
198  }
+ Here is the caller graph for this function:

◆ checkScoreParticipantsTabAccess()

ILIAS\Test\Presentation\TabsManager::checkScoreParticipantsTabAccess ( )
protected

Definition at line 200 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

200  : bool
201  {
202  return $this->test_access->checkScoreParticipantsAccess();
203  }
+ Here is the caller graph for this function:

◆ getBrowseForQuestionsTab()

ILIAS\Test\Presentation\TabsManager::getBrowseForQuestionsTab ( )
protected

Definition at line 508 of file TabsManager.php.

References ILIAS\Repository\ctrl(), ILIAS\Test\Presentation\TabsManager\isWriteAccessGranted(), ILIAS\Repository\lng(), ilObjTestGUI\SHOW_QUESTIONS_CMD, and ILIAS\Repository\tabs().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

508  : void
509  {
510  if ($this->isWriteAccessGranted()) {
511  $this->ctrl->saveParameterByClass($this->ctrl->getCmdClass(), 'q_id');
512  // edit page
513  $this->tabs->setBackTarget(
514  $this->lng->txt('backtocallingtest'),
515  $this->ctrl->getLinkTargetByClass($this->ctrl->getCmdClass(), \ilObjTestGUI::SHOW_QUESTIONS_CMD)
516  );
517  $this->tabs->addTarget(
518  'tst_browse_for_questions',
519  $this->ctrl->getLinkTargetByClass(\ilObjTestGUI::class, 'browseForQuestions'),
520  ['browseForQuestions', 'filter', 'resetFilter', 'resetTextFilter', 'insertQuestions'],
521  '',
522  '',
523  true
524  );
525  }
526  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getParentBackHref()

ILIAS\Test\Presentation\TabsManager::getParentBackHref ( )

Definition at line 141 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\$parent_back_href.

Referenced by ILIAS\Test\Presentation\TabsManager\hasParentBackLink(), and ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

141  : ?string
142  {
144  }
+ Here is the caller graph for this function:

◆ getParentBackLabel()

ILIAS\Test\Presentation\TabsManager::getParentBackLabel ( )

Definition at line 131 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\$parent_back_label.

Referenced by ILIAS\Test\Presentation\TabsManager\hasParentBackLink(), and ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

131  : ?string
132  {
134  }
+ Here is the caller graph for this function:

◆ getParticipantsTabTarget()

ILIAS\Test\Presentation\TabsManager::getParticipantsTabTarget ( )
protected

Definition at line 704 of file TabsManager.php.

References ILIAS\Repository\ctrl().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

704  : string
705  {
706  return $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilTestParticipantsGUI::class]);
707  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getQuestionsSubTabs()

ILIAS\Test\Presentation\TabsManager::getQuestionsSubTabs ( )

Definition at line 546 of file TabsManager.php.

References ilTestRandomQuestionSetConfigGUI\CMD_SHOW_GENERAL_CONFIG_FORM, ilAssQuestionSkillAssignmentsGUI\CMD_SHOW_SKILL_QUEST_ASSIGN_PROPERTIES_FORM, ilAssQuestionSkillAssignmentsGUI\CMD_SHOW_SKILL_QUEST_ASSIGNS, ilTestRandomQuestionSetConfigGUI\CMD_SHOW_SRC_POOL_DEF_LIST, ILIAS\Repository\ctrl(), ILIAS\Test\Presentation\TabsManager\isWriteAccessGranted(), ILIAS\Repository\lng(), ilObjTestGUI\SHOW_QUESTIONS_CMD, and ILIAS\Repository\tabs().

546  : void
547  {
548  if (!$this->isWriteAccessGranted()) {
549  return;
550  }
551 
552  $this->tabs->activateTab(self::TAB_ID_QUESTIONS);
553 
554  if ($this->test_object->isRandomTest()) {
555  $this->tabs->addSubTabTarget(
556  self::QUESTIONS_SUBTAB_ID_RANDOM_SETTINGS,
557  $this->ctrl->getLinkTargetByClass(
558  \ilTestRandomQuestionSetConfigGUI::class,
560  ),
561  ['', 'showGeneralConfigForm', 'saveGeneralConfigForm']
562  );
563 
564  $this->tabs->addSubTabTarget(
565  self::QUESTIONS_SUBTAB_ID_RANDOM_POOLS,
566  $this->ctrl->getLinkTargetByClass(
567  \ilTestRandomQuestionSetConfigGUI::class,
569  ),
570  ['showSourcePoolDefinitionList']
571  );
572  }
573 
574  $this->tabs->addSubTab(
575  self::SUBTAB_ID_QST_LIST_VIEW,
576  $this->lng->txt('edit_test_questions'),
577  $this->ctrl->getLinkTargetByClass(\ilObjTestGUI::class, \ilObjTestGUI::SHOW_QUESTIONS_CMD)
578  );
579 
580  if ($this->test_object->isSkillServiceToBeConsidered()) {
581  $this->tabs->addSubTabTarget(
582  self::SETTINGS_SUBTAB_ID_ASSIGN_SKILLS_TO_QUESTIONS,
583  $this->ctrl->getLinkTargetByClass(
584  [
585  \ilTestSkillAdministrationGUI::class,
586  \ilAssQuestionSkillAssignmentsGUI::class
587  ],
589  ),
590  [
593  ]
594  );
595  }
596  }
+ Here is the call graph for this function:

◆ getRandomQuestionsTab()

ILIAS\Test\Presentation\TabsManager::getRandomQuestionsTab ( )
protected

Definition at line 528 of file TabsManager.php.

References ILIAS\Repository\ctrl(), ILIAS\Test\Presentation\TabsManager\isWriteAccessGranted(), ILIAS\Repository\lng(), ilObjTestGUI\SHOW_QUESTIONS_CMD, and ILIAS\Repository\tabs().

528  : void
529  {
530  if ($this->isWriteAccessGranted()) {
531  // edit page
532  $this->tabs->setBackTarget(
533  $this->lng->txt('backtocallingtest'),
534  $this->ctrl->getLinkTargetByClass(\ilTestRandomQuestionSetConfigGUI::class, \ilObjTestGUI::SHOW_QUESTIONS_CMD)
535  );
536  $this->tabs->addTarget(
537  'random_selection',
538  $this->ctrl->getLinkTargetByClass(\ilObjTestGUI::class, 'randomQuestions'),
539  ['randomQuestions'],
540  '',
541  ''
542  );
543  }
544  }
+ Here is the call graph for this function:

◆ getSettingsSubTabs()

ILIAS\Test\Presentation\TabsManager::getSettingsSubTabs ( )

Definition at line 598 of file TabsManager.php.

References ILIAS\Test\Settings\ScoreReporting\SettingsScoringGUI\CMD_SHOW_FORM, ilTestSkillLevelThresholdsGUI\CMD_SHOW_SKILL_THRESHOLDS, ILIAS\Repository\ctrl(), and ILIAS\Repository\tabs().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

598  : void
599  {
600  $this->tabs->addSubTabTarget(
601  self::SETTINGS_SUBTAB_ID_GENERAL,
602  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, SettingsMainGUI::class]),
603  '',
604  [SettingsMainGUI::class]
605  );
606 
607  $this->tabs->addSubTabTarget(
608  self::SETTINGS_SUBTAB_ID_MARK_SCHEMA,
609  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, MarkSchemaGUI::class], 'showMarkSchema'),
610  '',
611  [MarkSchemaGUI::class]
612  );
613 
614  $this->tabs->addSubTabTarget(
615  self::SETTINGS_SUBTAB_ID_SCORING,
616  $this->ctrl->getLinkTargetByClass(
617  [\ilObjTestGUI::class, SettingsScoringGUI::class],
619  ),
620  '',
621  [SettingsScoringGUI::class]
622  );
623 
624  $this->ctrl->setParameterByClass(\ilTestPageGUI::class, 'page_type', 'introductionpage');
625  $this->tabs->addSubTabTarget(
626  self::SETTINGS_SUBTAB_ID_EDIT_INTRODUCTION_PAGE,
627  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilTestPageGUI::class], 'preview'),
628  ['iltestpagegui']
629  );
630 
631  $this->ctrl->setParameterByClass(\ilTestPageGUI::class, 'page_type', 'concludingremarkspage');
632  $this->tabs->addSubTabTarget(
633  self::SETTINGS_SUBTAB_ID_EDIT_CONCLUSION_PAGE,
634  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilTestPageGUI::class], 'preview'),
635  ['iltestpagegui']
636  );
637  $this->ctrl->clearParameterByClass(\ilTestPageGUI::class, 'page_type');
638 
639  $validator = new \ilCertificateActiveValidator();
640  if ($validator->validate() === true) {
641  $this->tabs->addSubTabTarget(
642  self::SETTINGS_SUBTAB_ID_CERTIFICATE,
643  $this->ctrl->getLinkTargetByClass(\ilObjTestGUI::class, 'certificate'),
644  ['certificate', 'certificateEditor', 'certificateRemoveBackground', 'ceateSave',
645  'certificatePreview', 'certificateDelete', 'certificateUpload', 'certificateImport'],
646  ['', 'ilobjtestgui', 'ilcertificategui']
647  );
648  }
649 
650  if ($this->test_object->isSkillServiceToBeConsidered()) {
651  $this->tabs->addSubTabTarget(
652  self::SETTINGS_SUBTAB_ID_ASSIGN_SKILL_TRESHOLDS,
653  $this->ctrl->getLinkTargetByClass(
654  [
655  \ilTestSkillAdministrationGUI::class,
656  \ilTestSkillLevelThresholdsGUI::class
657  ],
659  ),
661  );
662  }
663 
664  $this->tabs->addSubTabTarget(
665  self::SETTINGS_SUBTAB_ID_PERSONAL_DEFAULT_SETTINGS,
666  $this->ctrl->getLinkTargetByClass(\ilObjTestGUI::class, 'defaults'),
667  ['defaults', 'deleteDefaults', 'addDefaults', 'applyDefaults'],
668  ['', 'ilobjtestgui', 'ilcertificategui']
669  );
670 
671  $lti_settings = new \ilLTIProviderObjectSettingGUI($this->test_object->getRefId());
672  if ($lti_settings->hasSettingsAccess()) {
673  $this->tabs->addSubTabTarget(
674  'lti_provider',
675  $this->ctrl->getLinkTargetByClass(\ilLTIProviderObjectSettingGUI::class),
676  '',
677  [\ilLTIProviderObjectSettingGUI::class]
678  );
679  }
680  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getYourResultsSubTabs()

ILIAS\Test\Presentation\TabsManager::getYourResultsSubTabs ( )

Definition at line 766 of file TabsManager.php.

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Test\Presentation\TabsManager\needsHighSoreSubTab(), ILIAS\Test\Presentation\TabsManager\needsLoResultsSubTab(), ILIAS\Test\Presentation\TabsManager\needsSkillResultsSubTab(), ILIAS\Test\Presentation\TabsManager\needsYourResultsSubTab(), ILIAS\Test\Presentation\TabsManager\needsYourSolutionsSubTab(), and ILIAS\Repository\tabs().

766  : void
767  {
768  if ($this->needsLoResultsSubTab()) {
769  $this->tabs->addSubTab(
770  self::SUBTAB_ID_LO_RESULTS,
771  $this->lng->txt('tst_tab_results_objective_oriented'),
772  $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilTestEvalObjectiveOrientedGUI::class])
773  );
774  }
775 
776  if ($this->needsYourResultsSubTab()) {
777  $myResultsLabel = $this->lng->txt('tst_show_results');
778 
779  if ($this->needsLoResultsSubTab()) {
780  $myResultsLabel = $this->lng->txt('tst_tab_results_pass_oriented');
781  }
782 
783  $this->tabs->addSubTab(
784  self::SUBTAB_ID_MY_RESULTS,
785  $myResultsLabel,
786  $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilMyTestResultsGUI::class, \ilTestEvaluationGUI::class])
787  );
788  }
789 
790  if ($this->needsSkillResultsSubTab()) {
791  $this->tabs->addSubTab(
792  self::SUBTAB_ID_SKILL_RESULTS,
793  $this->lng->txt('tst_show_comp_results'),
794  $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilTestSkillEvaluationGUI::class])
795  );
796  }
797 
798  if ($this->needsHighSoreSubTab()) {
799  $this->tabs->addSubTab(
800  self::SUBTAB_ID_HIGHSCORE,
801  $this->lng->txt('tst_show_toplist'),
802  $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilTestToplistGUI::class], 'outResultsToplist')
803  );
804  }
805 
806  if ($this->needsYourSolutionsSubTab()) {
807  $this->tabs->addSubTab(
808  self::SUBTAB_ID_MY_SOLUTIONS,
809  $this->lng->txt('tst_list_of_answers_show'),
810  $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilMyTestSolutionsGUI::class, \ilTestEvaluationGUI::class])
811  );
812  }
813  }
+ Here is the call graph for this function:

◆ getYourResultsTabTarget()

ILIAS\Test\Presentation\TabsManager::getYourResultsTabTarget ( )
protected

Definition at line 716 of file TabsManager.php.

References ILIAS\Repository\ctrl(), ILIAS\Test\Presentation\TabsManager\needsLoResultsSubTab(), and ILIAS\Test\Presentation\TabsManager\needsYourSolutionsSubTab().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

716  : string
717  {
718  if ($this->needsLoResultsSubTab()) {
719  return $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilTestResultsGUI::class, \ilTestEvalObjectiveOrientedGUI::class]);
720  }
721 
722  if ($this->needsYourSolutionsSubTab()) {
723  return $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilMyTestSolutionsGUI::class, \ilTestEvaluationGUI::class]);
724  }
725 
726  return $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilMyTestResultsGUI::class, \ilTestEvaluationGUI::class]);
727  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasParentBackLink()

ILIAS\Test\Presentation\TabsManager::hasParentBackLink ( )

Definition at line 151 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\getParentBackHref(), ILIAS\Test\Presentation\TabsManager\getParentBackLabel(), and null.

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

151  : bool
152  {
153  if ($this->getParentBackHref() === null) {
154  return false;
155  }
156 
157  if ($this->getParentBackLabel() === null) {
158  return false;
159  }
160 
161  return true;
162  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isHistoryAccessGranted()

ILIAS\Test\Presentation\TabsManager::isHistoryAccessGranted ( )
protected

Definition at line 174 of file TabsManager.php.

References ILIAS\Repository\access().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

174  : bool
175  {
176  return $this->test_object->getTestLogger()->isLoggingEnabled()
177  && $this->access->checkAccess('tst_history_read', '', $this->test_object->getRefId());
178  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isLpAccessGranted()

ILIAS\Test\Presentation\TabsManager::isLpAccessGranted ( )
protected

Definition at line 185 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

185  : bool
186  {
187  return \ilLearningProgressAccess::checkAccess($this->test_object->getRefId());
188  }
+ Here is the caller graph for this function:

◆ isPermissionsAccessGranted()

ILIAS\Test\Presentation\TabsManager::isPermissionsAccessGranted ( )
protected

Definition at line 180 of file TabsManager.php.

References ILIAS\Repository\access().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

180  : bool
181  {
182  return $this->access->checkAccess('edit_permission', '', $this->test_object->getRefId());
183  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isReadAccessGranted()

ILIAS\Test\Presentation\TabsManager::isReadAccessGranted ( )
protected

Definition at line 164 of file TabsManager.php.

References ILIAS\Repository\access().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

164  : bool
165  {
166  return $this->access->checkAccess('read', '', $this->test_object->getRefId());
167  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isTabsConfigSetupRequired()

ILIAS\Test\Presentation\TabsManager::isTabsConfigSetupRequired ( )
protected

Definition at line 212 of file TabsManager.php.

References ILIAS\Repository\ctrl().

Referenced by ILIAS\Test\Presentation\TabsManager\perform().

212  : bool
213  {
214  if (preg_match('/^ass(.*?)gui$/i', $this->ctrl->getNextClass($this))) {
215  return false;
216  }
217 
218  if ($this->ctrl->getNextClass($this) == 'ilassquestionpagegui') {
219  return false;
220  }
221 
222  if ($this->ctrl->getCmdClass() == 'iltestoutputgui') {
223  return false;
224  }
225 
226  if ($this->ctrl->getCmdClass() == 'iltestevaluationgui') {
227  return in_array($this->ctrl->getCmd(), [
228  '', 'outUserResultsPassOverview', 'outUserListOfAnswerPasses', 'singleResults'
229  ]);
230  }
231 
232  return true;
233  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isWriteAccessGranted()

ILIAS\Test\Presentation\TabsManager::isWriteAccessGranted ( )
protected

Definition at line 169 of file TabsManager.php.

References ILIAS\Repository\access().

Referenced by ILIAS\Test\Presentation\TabsManager\getBrowseForQuestionsTab(), ILIAS\Test\Presentation\TabsManager\getQuestionsSubTabs(), ILIAS\Test\Presentation\TabsManager\getRandomQuestionsTab(), and ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

169  : bool
170  {
171  return $this->access->checkAccess('write', '', $this->test_object->getRefId());
172  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ needsHighSoreSubTab()

ILIAS\Test\Presentation\TabsManager::needsHighSoreSubTab ( )

Definition at line 743 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\getYourResultsSubTabs().

743  : bool
744  {
745  if (!$this->test_object->isScoreReportingEnabled()) {
746  return false;
747  }
748 
749  return $this->test_object->getHighscoreEnabled();
750  }
+ Here is the caller graph for this function:

◆ needsLoResultsSubTab()

ILIAS\Test\Presentation\TabsManager::needsLoResultsSubTab ( )

Definition at line 734 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\getYourResultsSubTabs(), and ILIAS\Test\Presentation\TabsManager\getYourResultsTabTarget().

734  : bool
735  {
736  if (!$this->test_object->isScoreReportingEnabled()) {
737  return false;
738  }
739 
740  return $this->objective_parent->isObjectiveOrientedPresentationRequired();
741  }
+ Here is the caller graph for this function:

◆ needsParticipantsTab()

ILIAS\Test\Presentation\TabsManager::needsParticipantsTab ( )
protected

Definition at line 682 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\checkParticipantsTabAccess().

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

682  : bool
683  {
684  if (!$this->checkParticipantsTabAccess()) {
685  return false;
686  }
687 
688  return true;
689  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ needsSkillResultsSubTab()

ILIAS\Test\Presentation\TabsManager::needsSkillResultsSubTab ( )

Definition at line 752 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\getYourResultsSubTabs().

752  : bool
753  {
754  if (!$this->test_object->isScoreReportingEnabled()) {
755  return false;
756  }
757 
758  return $this->test_object->isSkillServiceToBeConsidered();
759  }
+ Here is the caller graph for this function:

◆ needsTimeExtensionSubTab()

ILIAS\Test\Presentation\TabsManager::needsTimeExtensionSubTab ( )
protected

Definition at line 691 of file TabsManager.php.

691  : bool
692  {
693  if (!($this->test_object->getProcessingTimeInSeconds() > 0)) {
694  return false;
695  }
696 
697  if ($this->test_object->getNrOfTries() != 1) {
698  return false;
699  }
700 
701  return true;
702  }

◆ needsYourResultsSubTab()

ILIAS\Test\Presentation\TabsManager::needsYourResultsSubTab ( )
protected

Definition at line 729 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\getYourResultsSubTabs().

729  : bool
730  {
731  return $this->test_object->isScoreReportingEnabled();
732  }
+ Here is the caller graph for this function:

◆ needsYourResultsTab()

ILIAS\Test\Presentation\TabsManager::needsYourResultsTab ( )

Definition at line 709 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

709  : bool
710  {
711  return $this->test_session->reportableResultsAvailable($this->test_object)
712  || $this->test_session->getActiveId() !== 0
713  && $this->test_object->canShowSolutionPrintview($this->test_session->getUserId());
714  }
+ Here is the caller graph for this function:

◆ needsYourSolutionsSubTab()

ILIAS\Test\Presentation\TabsManager::needsYourSolutionsSubTab ( )

Definition at line 761 of file TabsManager.php.

Referenced by ILIAS\Test\Presentation\TabsManager\getYourResultsSubTabs(), and ILIAS\Test\Presentation\TabsManager\getYourResultsTabTarget().

761  : bool
762  {
763  return $this->test_object->canShowSolutionPrintview($this->test_session->getUserId());
764  }
+ Here is the caller graph for this function:

◆ perform()

ILIAS\Test\Presentation\TabsManager::perform ( )

Definition at line 205 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\isTabsConfigSetupRequired(), and ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().

205  : void
206  {
207  if ($this->isTabsConfigSetupRequired()) {
208  $this->setupTabsGuiConfig();
209  }
210  }
+ Here is the call graph for this function:

◆ resetTabsAndAddBacklink()

ILIAS\Test\Presentation\TabsManager::resetTabsAndAddBacklink ( string  $back_link_target)

Definition at line 125 of file TabsManager.php.

References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

125  : void
126  {
127  $this->tabs->clearTargets();
128  $this->tabs->setBackTarget($this->lng->txt('back'), $back_link_target);
129  }
+ Here is the call graph for this function:

◆ setParentBackHref()

ILIAS\Test\Presentation\TabsManager::setParentBackHref ( ?string  $parent_back_href)

Definition at line 146 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\$parent_back_href.

146  : void
147  {
148  $this->parent_back_href = $parent_back_href;
149  }

◆ setParentBackLabel()

ILIAS\Test\Presentation\TabsManager::setParentBackLabel ( ?string  $parent_back_label)

Definition at line 136 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\$parent_back_label.

137  {
138  $this->parent_back_label = $parent_back_label;
139  }

◆ setupTabsGuiConfig()

ILIAS\Test\Presentation\TabsManager::setupTabsGuiConfig ( )
protected

Definition at line 235 of file TabsManager.php.

References ILIAS\Test\Presentation\TabsManager\checkScoreParticipantsTabAccess(), ILIAS\Repository\ctrl(), ILIAS\Test\Presentation\TestScreenGUI\DEFAULT_CMD, ILIAS\Test\Presentation\TabsManager\getBrowseForQuestionsTab(), ILIAS\Test\Presentation\TabsManager\getParentBackHref(), ILIAS\Test\Presentation\TabsManager\getParentBackLabel(), ILIAS\Test\Presentation\TabsManager\getParticipantsTabTarget(), ILIAS\Test\Presentation\TabsManager\getSettingsSubTabs(), ILIAS\Test\Presentation\TabsManager\getYourResultsTabTarget(), ILIAS\Test\Presentation\TabsManager\hasParentBackLink(), ILIAS\Test\Presentation\TabsManager\isHistoryAccessGranted(), ILIAS\Test\Presentation\TabsManager\isLpAccessGranted(), ILIAS\Test\Presentation\TabsManager\isPermissionsAccessGranted(), ILIAS\Test\Presentation\TabsManager\isReadAccessGranted(), ILIAS\Test\Presentation\TabsManager\isWriteAccessGranted(), ILIAS\Repository\lng(), ILIAS\Test\Presentation\TabsManager\needsParticipantsTab(), ILIAS\Test\Presentation\TabsManager\needsYourResultsTab(), ilObjTestGUI\SHOW_QUESTIONS_CMD, and ILIAS\Repository\tabs().

Referenced by ILIAS\Test\Presentation\TabsManager\perform().

235  : void
236  {
237  if ($this->hasParentBackLink()) {
238  $this->tabs->setBack2Target($this->getParentBackLabel(), $this->getParentBackHref());
239  }
240 
241  $class_path = $this->ctrl->getCurrentClassPath();
242 
243  switch (array_pop($class_path)) {
244  case MarkSchemaGUI::class:
245  case SettingsMainGUI::class:
246  case SettingsScoringGUI::class:
247 
248  if ($this->isWriteAccessGranted()) {
249  $this->getSettingsSubTabs();
250  }
251 
252  break;
253  }
254 
255  switch ($this->ctrl->getCmd()) {
256  case 'resume':
257  case 'previous':
258  case 'next':
259  case 'summary':
260  case 'directfeedback':
261  case 'finishTest':
262  case 'outCorrectSolution':
263  case 'showAnswersOfUser':
264  case 'backFromSummary':
265  case 'show_answers':
266  case 'setsolved':
267  case 'resetsolved':
268  case 'confirmFinish':
269  case 'outTestSummary':
270  case 'outQuestionSummary':
271  case 'gotoQuestion':
272  case 'selectImagemapRegion':
273  case 'confirmSubmitAnswers':
274  case 'finalSubmission':
275  case 'postpone':
276  case 'outUserPassDetails':
277  case 'checkPassword':
278  case 'exportCertificate':
279  case 'finishListOfAnswers':
280  case 'backConfirmFinish':
281  case 'showFinalStatement':
282  return;
283  case 'browseForQuestions':
284  case 'filter':
285  case 'resetFilter':
286  case 'resetTextFilter':
287  case 'insertQuestions':
288  $classes = [
289  'iltestdashboardgui',
290  'iltestresultsgui',
291  'illearningprogressgui' // #8497: resetfilter is also used in lp
292  ];
293  if (!in_array($this->ctrl->getNextClass($this), $classes)) {
294  $this->getBrowseForQuestionsTab();
295  }
296  break;
297  case 'scoring':
298  case 'certificate':
299  case 'certificateservice':
300  case 'certificateImport':
301  case 'certificateUpload':
302  case 'certificateEditor':
303  case 'certificateDelete':
304  case 'certificateSave':
305  case 'defaults':
306  case 'deleteDefaults':
307  case 'addDefaults':
308  case 'applyDefaults':
309  case 'inviteParticipants':
310  case 'searchParticipants':
311  if ($this->isWriteAccessGranted() && in_array(strtolower($this->ctrl->getCmdClass()), ['ilobjtestgui', 'ilcertificategui'])) {
312  $this->getSettingsSubTabs();
313  }
314  break;
315  case 'export':
316  case 'print':
317  break;
318  }
319 
320  // test tab
321  if ($this->isReadAccessGranted()) {
322  $this->tabs->addTab(
323  self::TAB_ID_TEST,
324  $this->lng->txt('test'),
325  $this->ctrl->getLinkTargetByClass(
326  [
327  \ilObjTestGUI::class, TestScreenGUI::class],
329  )
330  );
331  }
332 
333  // info tab
334  if ($this->isReadAccessGranted()
335  && !$this->test_object->getMainSettings()->getAdditionalSettings()->getHideInfoTab()) {
336  $this->tabs->addTarget(
337  'info_short',
338  $this->ctrl->getLinkTargetByClass(
339  [
340  \ilRepositoryGUI::class,
341  \ilObjTestGUI::class,
342  \ilInfoScreenGUI::class
343  ]
344  ),
345  ['', 'outIntroductionPage', 'setAnonymousId', 'redirectToInfoScreen']
346  );
347  }
348 
349  // settings tab
350  if ($this->isWriteAccessGranted()) {
351  $settingsCommands = [
352  'marks', 'showMarkSchema','addMarkStep', 'deleteMarkSteps',
353  'resetToSimpleMarkSchema', 'saveMarks', 'certificate',
354  'certificateEditor', 'certificateSave',
355  'certificatePreview', 'certificateDelete', 'certificateUpload', 'certificateImport',
356  'scoring', 'defaults', 'addDefaults', 'deleteDefaults', 'applyDefaults',
357  'inviteParticipants', 'saveFixedParticipantsStatus', 'searchParticipants', 'addParticipants' // ARE THEY RIGHT HERE
358  ];
359 
360  $reflection = new \ReflectionClass(SettingsMainGUI::class);
361  foreach ($reflection->getConstants() as $name => $value) {
362  if (substr($name, 0, 4) === 'CMD_') {
363  $settingsCommands[] = $value;
364  }
365  }
366 
367  $reflection = new \ReflectionClass(SettingsScoringGUI::class);
368  foreach ($reflection->getConstants() as $name => $value) {
369  if (substr($name, 0, 4) === 'CMD_') {
370  $settingsCommands[] = $value;
371  }
372  }
373 
374  $settingsCommands[] = ''; // DO NOT KNOW WHAT THIS IS DOING, BUT IT'S REQUIRED
375 
376  $this->tabs->addTarget(
377  'settings',
378  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, SettingsMainGUI::class]),
379  $settingsCommands,
380  [
381  'ilmarkschemagui',
382  'ilobjtestsettingsmaingui',
383  'ilobjtestsettingsscoringresultsgui',
384  'ilobjtestgui',
385  'ilcertificategui'
386  ]
387  );
388  }
389 
390  if ($this->test_object->isFixedTest()) {
391  $target = $this->ctrl->getLinkTargetByClass(
392  \ilObjTestGUI::class,
394  );
395  }
396 
397  if ($this->test_object->isRandomTest()) {
398  $target = $this->ctrl->getLinkTargetByClass(\ilTestRandomQuestionSetConfigGUI::class);
399  }
400 
401  if ($this->isWriteAccessGranted()) {
402  $this->tabs->addTarget(
403  'assQuestions',
404  $target,
405  [
406  'showQuestions', 'browseForQuestions', 'questionBrowser', 'createQuestion',
407  'filter', 'resetFilter', 'insertQuestions', 'back',
408  'executeCreateQuestion', 'cancelCreateQuestion',
409  'addQuestionpool', 'saveRandomQuestions', 'saveQuestionSelectionMode', 'print',
410  'addsource', 'removesource', 'randomQuestions'
411  ],
412  );
413  }
414 
415  if ($this->needsParticipantsTab()) {
416  $this->tabs->addTab(
417  self::TAB_ID_PARTICIPANTS,
418  $this->lng->txt('participants'),
419  $this->getParticipantsTabTarget()
420  );
421  }
422 
423  if ($this->needsYourResultsTab()) {
424  $this->tabs->addTab(
425  self::TAB_ID_YOUR_RESULTS,
426  $this->lng->txt('your_results'),
427  $this->getYourResultsTabTarget()
428  );
429  }
430 
431  if ($this->checkScoreParticipantsTabAccess()) {
432  if ($this->test_object->getGlobalSettings()->isManualScoringEnabled()) {
433  // scoring tab
434  $this->tabs->addTarget(
435  self::TAB_ID_MANUAL_SCORING,
436  $this->ctrl->getLinkTargetByClass(
437  [\ilObjTestGUI::class, TestScoringByQuestionGUI::class],
438  'showManScoringByQuestionParticipantsTable'
439  ),
440  [
441  'showManScoringParticipantsTable',
442  'applyManScoringParticipantsFilter',
443  'resetManScoringParticipantsFilter',
444  'showManScoringParticipantScreen',
445  'showManScoringByQuestionParticipantsTable',
446  'applyManScoringByQuestionFilter',
447  'resetManScoringByQuestionFilter',
448  'saveManScoringByQuestion'
449  ],
450  ''
451  );
452  }
453  }
454 
455  if ($this->isHistoryAccessGranted()) {
456  $this->tabs->addTarget(
457  self::TAB_ID_HISTORY,
458  $this->ctrl->getLinkTargetByClass(\ilObjTestGUI::class, 'history'),
459  'history',
460  ''
461  );
462  }
463 
464  if ($this->isLpAccessGranted()) {
465  $this->tabs->addTarget(
466  self::TAB_ID_LEARNING_PROGRESS,
467  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilLearningProgressGUI::class], ''),
468  '',
469  [
470  'illplistofobjectsgui',
471  'illplistofsettingsgui',
472  'illearningprogressgui',
473  'illplistofprogressgui'
474  ]
475  );
476  }
477 
478  if ($this->isWriteAccessGranted()) {
479  $mdgui = new \ilObjectMetaDataGUI($this->test_object);
480  $mdtab = $mdgui->getTab(\ilObjTestGUI::class);
481  if ($mdtab) {
482  $this->tabs->addTarget(
483  self::TAB_ID_META_DATA,
484  $mdtab,
485  '',
486  'ilmdeditorgui'
487  );
488  }
489 
490  $this->tabs->addTarget(
491  self::TAB_ID_EXPORT,
492  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilTestExportGUI::class], ''),
493  '',
494  ['iltestexportgui']
495  );
496  }
497 
498  if ($this->isPermissionsAccessGranted()) {
499  $this->tabs->addTarget(
500  self::TAB_ID_PERMISSIONS,
501  $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilPermissionGUI::class], 'perm'),
502  ['perm','info','owner'],
503  'ilpermissiongui'
504  );
505  }
506  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $parent_back_href

string ILIAS\Test\Presentation\TabsManager::$parent_back_href = null
protected

◆ $parent_back_label

string ILIAS\Test\Presentation\TabsManager::$parent_back_label = null
protected

◆ QUESTIONS_SUBTAB_ID_RANDOM_POOLS

const ILIAS\Test\Presentation\TabsManager::QUESTIONS_SUBTAB_ID_RANDOM_POOLS = 'tst_rnd_quest_cfg_tab_pool'
private

Definition at line 74 of file TabsManager.php.

◆ QUESTIONS_SUBTAB_ID_RANDOM_SETTINGS

const ILIAS\Test\Presentation\TabsManager::QUESTIONS_SUBTAB_ID_RANDOM_SETTINGS = 'tst_rnd_quest_cfg_tab_general'
private

Definition at line 73 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_ASSIGN_SKILL_TRESHOLDS

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_ASSIGN_SKILL_TRESHOLDS = 'tst_skl_sub_tab_thresholds'

Definition at line 69 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_ASSIGN_SKILLS_TO_QUESTIONS

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_ASSIGN_SKILLS_TO_QUESTIONS = 'qpl_skl_sub_tab_quest_assign'

Definition at line 70 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_CERTIFICATE

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_CERTIFICATE = 'certificate'
private

Definition at line 68 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_EDIT_CONCLUSION_PAGE

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_EDIT_CONCLUSION_PAGE = 'edit_concluding_remarks'

Definition at line 67 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_EDIT_INTRODUCTION_PAGE

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_EDIT_INTRODUCTION_PAGE = 'edit_introduction'

Definition at line 66 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_GENERAL

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_GENERAL = 'general'
private

Definition at line 63 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_MARK_SCHEMA

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_MARK_SCHEMA = 'mark_schema'

Definition at line 64 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_PERSONAL_DEFAULT_SETTINGS

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_PERSONAL_DEFAULT_SETTINGS = 'tst_default_settings'
private

Definition at line 71 of file TabsManager.php.

◆ SETTINGS_SUBTAB_ID_SCORING

const ILIAS\Test\Presentation\TabsManager::SETTINGS_SUBTAB_ID_SCORING = 'scoring'

◆ SUBTAB_ID_GENERAL_SETTINGS

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_GENERAL_SETTINGS = 'general'

Definition at line 45 of file TabsManager.php.

◆ SUBTAB_ID_HIGHSCORE

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_HIGHSCORE = 'highscore'

◆ SUBTAB_ID_LO_RESULTS

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_LO_RESULTS = 'loresults'

◆ SUBTAB_ID_MY_RESULTS

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_MY_RESULTS = 'myresults'

◆ SUBTAB_ID_MY_SOLUTIONS

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_MY_SOLUTIONS = 'mysolutions'

◆ SUBTAB_ID_QST_LIST_VIEW

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_QST_LIST_VIEW = 'qst_list_view'

◆ SUBTAB_ID_QST_PAGE_VIEW

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_QST_PAGE_VIEW = 'qst_page_view'

◆ SUBTAB_ID_SKILL_RESULTS

const ILIAS\Test\Presentation\TabsManager::SUBTAB_ID_SKILL_RESULTS = 'skillresults'

◆ TAB_ID_CORRECTION

const ILIAS\Test\Presentation\TabsManager::TAB_ID_CORRECTION = 'scoringadjust'

Definition at line 48 of file TabsManager.php.

◆ TAB_ID_EXPORT

const ILIAS\Test\Presentation\TabsManager::TAB_ID_EXPORT = 'export'

Definition at line 51 of file TabsManager.php.

◆ TAB_ID_HISTORY

const ILIAS\Test\Presentation\TabsManager::TAB_ID_HISTORY = 'history'

Definition at line 49 of file TabsManager.php.

◆ TAB_ID_INFOSCREEN

const ILIAS\Test\Presentation\TabsManager::TAB_ID_INFOSCREEN = 'info_short'

Definition at line 43 of file TabsManager.php.

◆ TAB_ID_LEARNING_PROGRESS

const ILIAS\Test\Presentation\TabsManager::TAB_ID_LEARNING_PROGRESS = 'learning_progress'

Definition at line 46 of file TabsManager.php.

◆ TAB_ID_MANUAL_SCORING

const ILIAS\Test\Presentation\TabsManager::TAB_ID_MANUAL_SCORING = 'manscoring'

◆ TAB_ID_META_DATA

const ILIAS\Test\Presentation\TabsManager::TAB_ID_META_DATA = 'meta_data'

Definition at line 50 of file TabsManager.php.

◆ TAB_ID_PARTICIPANTS

const ILIAS\Test\Presentation\TabsManager::TAB_ID_PARTICIPANTS = 'participants'

◆ TAB_ID_PERMISSIONS

const ILIAS\Test\Presentation\TabsManager::TAB_ID_PERMISSIONS = 'perm_settings'

Definition at line 52 of file TabsManager.php.

◆ TAB_ID_QUESTIONS

const ILIAS\Test\Presentation\TabsManager::TAB_ID_QUESTIONS = 'assQuestions'

(Sub-)Tab ID constants

Definition at line 38 of file TabsManager.php.

◆ TAB_ID_SETTINGS

const ILIAS\Test\Presentation\TabsManager::TAB_ID_SETTINGS = 'settings'

Definition at line 44 of file TabsManager.php.

◆ TAB_ID_TEST

const ILIAS\Test\Presentation\TabsManager::TAB_ID_TEST = 'test'

◆ TAB_ID_YOUR_RESULTS

const ILIAS\Test\Presentation\TabsManager::TAB_ID_YOUR_RESULTS = 'your_results'

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