ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Taxonomy\Settings;
22 
25 
27 {
30 
31  public function __construct(
32  InternalDomainService $domain,
34  ) {
35  $this->domain = $domain;
36  $this->gui = $gui;
37  }
38 
39  public function getSettingsGUI(
40  int $rep_obj_id,
41  string $list_info = "",
42  bool $multiple = true,
45  return new \ilTaxonomySettingsGUI(
46  $this->domain,
47  $this->gui,
48  $rep_obj_id,
49  $list_info,
50  $multiple,
51  $modifier
52  );
53  }
54 
55  public function addSubTab(int $rep_obj_id): void
56  {
57  $tabs = $this->gui->tabs();
58  $ctrl = $this->gui->ctrl();
59  $lng = $this->domain->lng();
60  if ($this->domain->settings($rep_obj_id)->isActivated()) {
61  $lng->loadLanguageModule("tax");
62  $tabs->addSubTab(
63  "tax_settings",
64  $lng->txt("tax_taxonomy"),
65  $ctrl->getLinkTargetByClass(\ilTaxonomySettingsGUI::class, "")
66  );
67  }
68  }
69 }
ilTaxonomySettingsGUI: ilObjTaxonomyGUI
Interface Observer Contains several chained tasks and infos about them.
getSettingsGUI(int $rep_obj_id, string $list_info="", bool $multiple=true, ?\ILIAS\Taxonomy\Settings\ModifierGUIInterface $modifier=null)
__construct(InternalDomainService $domain, InternalGUIService $gui)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $lng
Definition: privfeed.php:31