ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalGUIService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Style\Content;
22
26
32{
33 use GlobalDICGUIServices;
34
37
40
41 public function __construct(
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(
62 }
63
64 public function image(
66 return $this->image;
67 }
68
69 public function standardRequest(
70 ?array $passed_query_params = null,
71 ?array $passed_post_data = null
74 $this->http(),
75 $this->domain_service->refinery(),
76 $passed_query_params,
77 $passed_post_data
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}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
objectSettingsGUI(?int $selected_style_id, int $ref_id, int $obj_id=0)
standardRequest(?array $passed_query_params=null, ?array $passed_post_data=null)
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Style settings of a repository object.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$ref_id
Definition: ltiauth.php:66
static http()
Fetches the global http state from ILIAS.
initGUIServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26