ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Taxonomy\Settings\GUIService Class Reference
+ Collaboration diagram for ILIAS\Taxonomy\Settings\GUIService:

Public Member Functions

 __construct (InternalDomainService $domain, InternalGUIService $gui)
 
 getSettingsGUI (int $rep_obj_id, string $list_info="", bool $multiple=true, ?\ILIAS\Taxonomy\Settings\ModifierGUIInterface $modifier=null)
 
 addSubTab (int $rep_obj_id)
 

Protected Attributes

InternalGUIService $gui
 
InternalDomainService $domain
 

Detailed Description

Definition at line 26 of file class.GUIService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Taxonomy\Settings\GUIService::__construct ( InternalDomainService  $domain,
InternalGUIService  $gui 
)

Definition at line 31 of file class.GUIService.php.

References ILIAS\Taxonomy\Settings\GUIService\$domain, and ILIAS\Taxonomy\Settings\GUIService\$gui.

34  {
35  $this->domain = $domain;
36  $this->gui = $gui;
37  }

Member Function Documentation

◆ addSubTab()

ILIAS\Taxonomy\Settings\GUIService::addSubTab ( int  $rep_obj_id)

Definition at line 55 of file class.GUIService.php.

References $lng.

55  : 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  }
global $lng
Definition: privfeed.php:31

◆ getSettingsGUI()

ILIAS\Taxonomy\Settings\GUIService::getSettingsGUI ( int  $rep_obj_id,
string  $list_info = "",
bool  $multiple = true,
?\ILIAS\Taxonomy\Settings\ModifierGUIInterface  $modifier = null 
)

Definition at line 39 of file class.GUIService.php.

45  return new \ilTaxonomySettingsGUI(
46  $this->domain,
47  $this->gui,
48  $rep_obj_id,
49  $list_info,
50  $multiple,
51  $modifier
52  );
53  }
ilTaxonomySettingsGUI: ilObjTaxonomyGUI

Field Documentation

◆ $domain

InternalDomainService ILIAS\Taxonomy\Settings\GUIService::$domain
protected

Definition at line 29 of file class.GUIService.php.

Referenced by ILIAS\Taxonomy\Settings\GUIService\__construct().

◆ $gui

InternalGUIService ILIAS\Taxonomy\Settings\GUIService::$gui
protected

Definition at line 28 of file class.GUIService.php.

Referenced by ILIAS\Taxonomy\Settings\GUIService\__construct().


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