ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Style\Content;
22 
26 
32 {
34 
37 
40 
41  public function __construct(
43  InternalDataService $data_service,
44  InternalDomainService $domain_service
45  ) {
46  $this->data_service = $data_service;
47  $this->domain_service = $domain_service;
48  $this->initGUIServices($DIC);
50  $this->domain_service,
51  $this
52  );
53  $this->image = new ImageUIFactory(
54  $this->domain_service,
55  $this
56  );
57  }
58 
59  public function characteristic(
61  return $this->characteristic;
62  }
63 
64  public function image(
65  ): ImageUIFactory {
66  return $this->image;
67  }
68 
69  public function standardRequest(
70  ?array $passed_query_params = null,
71  ?array $passed_post_data = null
73  return new StandardGUIRequest(
74  $this->http(),
75  $this->domain_service->refinery(),
78  );
79  }
80 
81  // get class name of object settings gui class
82  public function objectSettingsClass(bool $lower = true): string
83  {
84  $class = ilObjectContentStyleSettingsGUI::class;
85  if ($lower) {
86  $class = strtolower($class);
87  }
88  return $class;
89  }
90 
91  // get instance of objecgt settings gui class
92  public function objectSettingsGUI(
93  ?int $selected_style_id,
94  int $ref_id,
95  int $obj_id = 0
98  $this->domain_service,
99  $this,
100  $selected_style_id,
101  $ref_id,
102  $obj_id
103  );
104  }
105 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
objectSettingsGUI(?int $selected_style_id, int $ref_id, int $obj_id=0)
initGUIServices(\ILIAS\DI\Container $DIC)
standardRequest(?array $passed_query_params=null, ?array $passed_post_data=null)
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
global $DIC
Definition: feed.php:28
$ref_id
Definition: ltiauth.php:67
static http()
Fetches the global http state from ILIAS.
Repository internal data service.