ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Taxonomy;
22 
25 
27 {
29 
32 
33  public function __construct(
35  InternalDataService $data_service,
36  InternalDomainService $domain_service
37  ) {
38  $this->data_service = $data_service;
39  $this->domain_service = $domain_service;
40  $this->initGUIServices($DIC);
41  }
42 
44  {
45  return new \ILIAS\Taxonomy\Settings\GUIService(
46  $this->domain_service,
47  $this
48  );
49  }
50 
51  public function getObjTaxonomyGUI(int $rep_obj_id): \ilObjTaxonomyGUI
52  {
53  $tax_gui = new \ilObjTaxonomyGUI();
54  $tax_gui->setAssignedObject($rep_obj_id);
55  return $tax_gui;
56  }
57 
58 
59 }
initGUIServices(\ILIAS\DI\Container $DIC)
Interface Observer Contains several chained tasks and infos about them.
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:22