ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.GUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
30
31 public function __construct(
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,
43 ?\ILIAS\Taxonomy\Settings\ModifierGUIInterface $modifier = null
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}
getSettingsGUI(int $rep_obj_id, string $list_info="", bool $multiple=true, ?\ILIAS\Taxonomy\Settings\ModifierGUIInterface $modifier=null)
__construct(InternalDomainService $domain, InternalGUIService $gui)
@ilCtrl_Calls ilTaxonomySettingsGUI: ilObjTaxonomyGUI
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $lng
Definition: privfeed.php:31