ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\Style\Content\InternalGUIService Class Reference

Content style internal ui factory. More...

+ Collaboration diagram for ILIAS\Style\Content\InternalGUIService:

Public Member Functions

 __construct (Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
 
 characteristic ()
 
 image ()
 
 characteristicTableBuilder (string $super_type, CharacteristicManager $manager, Access\StyleAccessManager $access_manager, object $parent_gui, string $parent_cmd)
 
 colorTableBuilder (\ilObjStyleSheet $style_obj, Access\StyleAccessManager $access_manager, object $parent_gui, string $parent_cmd)
 
 templateTableBuilder (\ilObjStyleSheet $style_obj, string $temp_type, Access\StyleAccessManager $access_manager, object $parent_gui, string $parent_cmd)
 
 mediaQueryTableBuilder (\ilObjStyleSheet $style_obj, Access\StyleAccessManager $access_manager, object $parent_gui, string $parent_cmd)
 
 contentStylesTableBuilder (array $data, int $default_style, int $fixed_style, Access\StyleAccessManager $access_manager, object $parent_gui, string $parent_cmd)
 
 standardRequest (?array $passed_query_params=null, ?array $passed_post_data=null)
 
 objectSettingsClass (bool $lower=true)
 
 objectSettingsGUI (?int $selected_style_id, int $ref_id, int $obj_id=0)
 

Protected Attributes

InternalDataService $data_service
 
InternalDomainService $domain_service
 
CharacteristicUIFactory $characteristic
 
ImageUIFactory $image
 

Detailed Description

Content style internal ui factory.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 35 of file class.InternalGUIService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Style\Content\InternalGUIService::__construct ( Container  $DIC,
InternalDataService  $data_service,
InternalDomainService  $domain_service 
)

Definition at line 45 of file class.InternalGUIService.php.

49 {
50 $this->data_service = $data_service;
51 $this->domain_service = $domain_service;
52 $this->initGUIServices($DIC);
53 $this->characteristic = new CharacteristicUIFactory(
54 $this->domain_service,
55 $this
56 );
57 $this->image = new ImageUIFactory(
58 $this->domain_service,
59 $this
60 );
61 }
initGUIServices(\ILIAS\DI\Container $DIC)

References ILIAS\Repository\InternalGUIService\$data_service, ILIAS\Repository\InternalGUIService\$domain_service, ILIAS\Style\Content\InternalGUIService\characteristic(), ILIAS\Style\Content\InternalGUIService\image(), and ILIAS\Repository\initGUIServices().

+ Here is the call graph for this function:

Member Function Documentation

◆ characteristic()

ILIAS\Style\Content\InternalGUIService::characteristic ( )

Definition at line 63 of file class.InternalGUIService.php.

65 return $this->characteristic;
66 }

References ILIAS\Style\Content\InternalGUIService\characteristic().

Referenced by ILIAS\Style\Content\InternalGUIService\__construct(), and ILIAS\Style\Content\InternalGUIService\characteristic().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ characteristicTableBuilder()

ILIAS\Style\Content\InternalGUIService::characteristicTableBuilder ( string  $super_type,
CharacteristicManager  $manager,
Access\StyleAccessManager  $access_manager,
object  $parent_gui,
string  $parent_cmd 
)

Definition at line 73 of file class.InternalGUIService.php.

79 : CharacteristicTableBuilder {
80 return new CharacteristicTableBuilder(
81 $this->domain_service,
82 $super_type,
83 $manager,
84 $access_manager,
85 $parent_gui,
86 $parent_cmd
87 );
88 }

◆ colorTableBuilder()

ILIAS\Style\Content\InternalGUIService::colorTableBuilder ( \ilObjStyleSheet  $style_obj,
Access\StyleAccessManager  $access_manager,
object  $parent_gui,
string  $parent_cmd 
)

Definition at line 90 of file class.InternalGUIService.php.

95 : ColorTableBuilder {
96 return new ColorTableBuilder(
97 $this->domain_service,
98 $style_obj,
99 $access_manager,
100 $parent_gui,
101 $parent_cmd
102 );
103 }

◆ contentStylesTableBuilder()

ILIAS\Style\Content\InternalGUIService::contentStylesTableBuilder ( array  $data,
int  $default_style,
int  $fixed_style,
Access\StyleAccessManager  $access_manager,
object  $parent_gui,
string  $parent_cmd 
)

Definition at line 137 of file class.InternalGUIService.php.

144 : ContentStylesTableBuilder {
145 return new ContentStylesTableBuilder(
146 $this->domain_service,
147 $this,
148 $data,
149 $default_style,
150 $fixed_style,
151 $access_manager,
152 $parent_gui,
153 $parent_cmd
154 );
155 }
$data
Definition: storeScorm.php:45

◆ image()

ILIAS\Style\Content\InternalGUIService::image ( )

Definition at line 68 of file class.InternalGUIService.php.

70 return $this->image;
71 }

Referenced by ILIAS\Style\Content\InternalGUIService\__construct().

+ Here is the caller graph for this function:

◆ mediaQueryTableBuilder()

ILIAS\Style\Content\InternalGUIService::mediaQueryTableBuilder ( \ilObjStyleSheet  $style_obj,
Access\StyleAccessManager  $access_manager,
object  $parent_gui,
string  $parent_cmd 
)

Definition at line 122 of file class.InternalGUIService.php.

127 : MediaQueryTableBuilder {
128 return new MediaQueryTableBuilder(
129 $this->domain_service,
130 $style_obj,
131 $access_manager,
132 $parent_gui,
133 $parent_cmd
134 );
135 }

◆ objectSettingsClass()

ILIAS\Style\Content\InternalGUIService::objectSettingsClass ( bool  $lower = true)

Definition at line 170 of file class.InternalGUIService.php.

170 : string
171 {
172 $class = ilObjectContentStyleSettingsGUI::class;
173 if ($lower) {
174 $class = strtolower($class);
175 }
176 return $class;
177 }

◆ objectSettingsGUI()

ILIAS\Style\Content\InternalGUIService::objectSettingsGUI ( ?int  $selected_style_id,
int  $ref_id,
int  $obj_id = 0 
)

Definition at line 180 of file class.InternalGUIService.php.

186 $this->domain_service,
187 $this,
188 $selected_style_id,
189 $ref_id,
190 $obj_id
191 );
192 }
Style settings of a repository object.

◆ standardRequest()

ILIAS\Style\Content\InternalGUIService::standardRequest ( ?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 157 of file class.InternalGUIService.php.

160 : StandardGUIRequest {
161 return new StandardGUIRequest(
162 $this->http(),
163 $this->domain_service->refinery(),
164 $passed_query_params,
165 $passed_post_data
166 );
167 }
static http()
Fetches the global http state from ILIAS.

◆ templateTableBuilder()

ILIAS\Style\Content\InternalGUIService::templateTableBuilder ( \ilObjStyleSheet  $style_obj,
string  $temp_type,
Access\StyleAccessManager  $access_manager,
object  $parent_gui,
string  $parent_cmd 
)

Definition at line 105 of file class.InternalGUIService.php.

111 : TemplateTableBuilder {
112 return new TemplateTableBuilder(
113 $this->domain_service,
114 $style_obj,
115 $temp_type,
116 $access_manager,
117 $parent_gui,
118 $parent_cmd
119 );
120 }

Field Documentation

◆ $characteristic

CharacteristicUIFactory ILIAS\Style\Content\InternalGUIService::$characteristic
protected

Definition at line 42 of file class.InternalGUIService.php.

◆ $data_service

InternalDataService ILIAS\Style\Content\InternalGUIService::$data_service
protected

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

◆ $domain_service

InternalDomainService ILIAS\Style\Content\InternalGUIService::$domain_service
protected

Definition at line 40 of file class.InternalGUIService.php.

◆ $image

ImageUIFactory ILIAS\Style\Content\InternalGUIService::$image
protected

Definition at line 43 of file class.InternalGUIService.php.


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