ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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 103 of file TabsManager.php.

References ILIAS\Repository\tabs().

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

◆ checkParticipantsTabAccess()

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

Definition at line 195 of file TabsManager.php.

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

195  : bool
196  {
197  if ($this->test_access->checkManageParticipantsAccess()
198  || $this->test_access->checkParticipantsResultsAccess()) {
199  return true;
200  }
201 
202  return false;
203  }
+ Here is the caller graph for this function:

◆ checkScoreParticipantsTabAccess()

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

Definition at line 205 of file TabsManager.php.

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

205  : bool
206  {
207  return $this->test_access->checkScoreParticipantsAccess()
208  || $this->test_access->checkScoreParticipantsAccessAnon();
209  }
+ Here is the caller graph for this function:

◆ getBrowseForQuestionsTab()

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

Definition at line 514 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().

514  : void
515  {
516  if ($this->isWriteAccessGranted()) {
517  $this->ctrl->saveParameterByClass($this->ctrl->getCmdClass(), 'q_id');
518  // edit page
519  $this->tabs->setBackTarget(
520  $this->lng->txt('backtocallingtest'),
521  $this->ctrl->getLinkTargetByClass($this->ctrl->getCmdClass(), \ilObjTestGUI::SHOW_QUESTIONS_CMD)
522  );
523  $this->tabs->addTarget(
524  'tst_browse_for_questions',
525  $this->ctrl->getLinkTargetByClass(\ilObjTestGUI::class, 'browseForQuestions'),
526  ['browseForQuestions', 'filter', 'resetFilter', 'resetTextFilter', 'insertQuestions'],
527  '',
528  '',
529  true
530  );
531  }
532  }
+ 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 142 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().

142  : ?string
143  {
145  }
+ Here is the caller graph for this function:

◆ getParentBackLabel()

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

Definition at line 132 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().

132  : ?string
133  {
135  }
+ Here is the caller graph for this function:

◆ getParticipantsTabTarget()

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

Definition at line 710 of file TabsManager.php.

References ILIAS\Repository\ctrl().

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

710  : string
711  {
712  return $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilTestParticipantsGUI::class]);
713  }
+ 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 552 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().

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

◆ getRandomQuestionsTab()

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

Definition at line 534 of file TabsManager.php.

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

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

◆ getSettingsSubTabs()

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

Definition at line 604 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().

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

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

◆ getYourResultsTabTarget()

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

Definition at line 722 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().

722  : string
723  {
724  if ($this->needsLoResultsSubTab()) {
725  return $this->ctrl->getLinkTargetByClass([\ilObjTestGUI::class, \ilTestResultsGUI::class, \ilTestEvalObjectiveOrientedGUI::class]);
726  }
727 
728  if ($this->needsYourSolutionsSubTab()) {
729  return $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilMyTestSolutionsGUI::class, \ilTestEvaluationGUI::class]);
730  }
731 
732  return $this->ctrl->getLinkTargetByClass([\ilTestResultsGUI::class, \ilMyTestResultsGUI::class, \ilTestEvaluationGUI::class]);
733  }
+ 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 152 of file TabsManager.php.

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

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

152  : bool
153  {
154  if ($this->getParentBackHref() === null) {
155  return false;
156  }
157 
158  if ($this->getParentBackLabel() === null) {
159  return false;
160  }
161 
162  return true;
163  }
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 175 of file TabsManager.php.

References ILIAS\Repository\access().

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

175  : bool
176  {
177  return $this->test_object->getTestLogger()->isLoggingEnabled()
178  && $this->access->checkAccess('tst_history_read', '', $this->test_object->getRefId());
179  }
+ 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 186 of file TabsManager.php.

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

186  : bool
187  {
188  if (!$this->test_access->getAccess()->checkAccess('read', '', $this->test_object->getRefId())) {
189  return false;
190  }
191 
192  return \ilLearningProgressAccess::checkAccess($this->test_object->getRefId());
193  }
+ Here is the caller graph for this function:

◆ isPermissionsAccessGranted()

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

Definition at line 181 of file TabsManager.php.

References ILIAS\Repository\access().

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

181  : bool
182  {
183  return $this->access->checkAccess('edit_permission', '', $this->test_object->getRefId());
184  }
+ 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 165 of file TabsManager.php.

References ILIAS\Repository\access().

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

165  : bool
166  {
167  return $this->access->checkAccess('read', '', $this->test_object->getRefId());
168  }
+ 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 218 of file TabsManager.php.

References ILIAS\Repository\ctrl().

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

218  : bool
219  {
220  if (preg_match('/^ass(.*?)gui$/i', $this->ctrl->getNextClass($this))) {
221  return false;
222  }
223 
224  if ($this->ctrl->getNextClass($this) == 'ilassquestionpagegui') {
225  return false;
226  }
227 
228  if ($this->ctrl->getCmdClass() == 'iltestoutputgui') {
229  return false;
230  }
231 
232  if ($this->ctrl->getCmdClass() == 'iltestevaluationgui') {
233  return in_array($this->ctrl->getCmd(), [
234  '', 'outUserResultsPassOverview', 'outUserListOfAnswerPasses', 'singleResults'
235  ]);
236  }
237 
238  return true;
239  }
+ 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 170 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().

170  : bool
171  {
172  return $this->access->checkAccess('write', '', $this->test_object->getRefId());
173  }
+ 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 749 of file TabsManager.php.

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

749  : bool
750  {
751  if (!$this->test_object->isScoreReportingEnabled()) {
752  return false;
753  }
754 
755  return $this->test_object->getHighscoreEnabled();
756  }
+ Here is the caller graph for this function:

◆ needsLoResultsSubTab()

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

Definition at line 740 of file TabsManager.php.

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

740  : bool
741  {
742  if (!$this->test_object->isScoreReportingEnabled()) {
743  return false;
744  }
745 
746  return $this->objective_parent->isObjectiveOrientedPresentationRequired();
747  }
+ Here is the caller graph for this function:

◆ needsParticipantsTab()

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

Definition at line 688 of file TabsManager.php.

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

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

688  : bool
689  {
690  if (!$this->checkParticipantsTabAccess()) {
691  return false;
692  }
693 
694  return true;
695  }
+ 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 758 of file TabsManager.php.

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

758  : bool
759  {
760  if (!$this->test_object->isScoreReportingEnabled()) {
761  return false;
762  }
763 
764  return $this->test_object->isSkillServiceToBeConsidered();
765  }
+ Here is the caller graph for this function:

◆ needsTimeExtensionSubTab()

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

Definition at line 697 of file TabsManager.php.

697  : bool
698  {
699  if (!($this->test_object->getProcessingTimeInSeconds() > 0)) {
700  return false;
701  }
702 
703  if ($this->test_object->getNrOfTries() != 1) {
704  return false;
705  }
706 
707  return true;
708  }

◆ needsYourResultsSubTab()

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

Definition at line 735 of file TabsManager.php.

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

735  : bool
736  {
737  return $this->test_object->isScoreReportingEnabled();
738  }
+ Here is the caller graph for this function:

◆ needsYourResultsTab()

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

Definition at line 715 of file TabsManager.php.

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

715  : bool
716  {
717  return $this->test_session->reportableResultsAvailable($this->test_object)
718  || $this->test_session->getActiveId() !== 0
719  && $this->test_object->canShowSolutionPrintview($this->test_session->getUserId());
720  }
+ Here is the caller graph for this function:

◆ needsYourSolutionsSubTab()

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

Definition at line 767 of file TabsManager.php.

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

767  : bool
768  {
769  return $this->test_object->canShowSolutionPrintview($this->test_session->getUserId());
770  }
+ Here is the caller graph for this function:

◆ perform()

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

Definition at line 211 of file TabsManager.php.

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

211  : void
212  {
213  if ($this->isTabsConfigSetupRequired()) {
214  $this->setupTabsGuiConfig();
215  }
216  }
+ Here is the call graph for this function:

◆ resetTabsAndAddBacklink()

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

Definition at line 126 of file TabsManager.php.

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

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

◆ setParentBackHref()

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

Definition at line 147 of file TabsManager.php.

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

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

◆ setParentBackLabel()

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

Definition at line 137 of file TabsManager.php.

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

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

◆ setupTabsGuiConfig()

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

Definition at line 241 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().

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