ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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  }
+ Here is the caller graph for this function:

◆ getBrowseForQuestionsTab()

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

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

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

References ILIAS\Repository\ctrl().

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

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

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

◆ getRandomQuestionsTab()

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

Definition at line 533 of file TabsManager.php.

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

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

◆ getSettingsSubTabs()

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

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

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

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

◆ getYourResultsTabTarget()

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

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

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

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  }
+ 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 217 of file TabsManager.php.

References ILIAS\Repository\ctrl().

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

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

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

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

◆ needsLoResultsSubTab()

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

Definition at line 739 of file TabsManager.php.

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

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

◆ needsParticipantsTab()

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

Definition at line 687 of file TabsManager.php.

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

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

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

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

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

◆ needsTimeExtensionSubTab()

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

Definition at line 696 of file TabsManager.php.

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

◆ needsYourResultsSubTab()

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

Definition at line 734 of file TabsManager.php.

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

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

◆ needsYourResultsTab()

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

Definition at line 714 of file TabsManager.php.

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

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

◆ needsYourSolutionsSubTab()

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

Definition at line 766 of file TabsManager.php.

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

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

◆ perform()

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

Definition at line 210 of file TabsManager.php.

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

210  : void
211  {
212  if ($this->isTabsConfigSetupRequired()) {
213  $this->setupTabsGuiConfig();
214  }
215  }
+ 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 240 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().

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