ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 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 31 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 41 of file class.InternalGUIService.php.

45 {
46 $this->data_service = $data_service;
47 $this->domain_service = $domain_service;
48 $this->initGUIServices($DIC);
49 $this->characteristic = new CharacteristicUIFactory(
50 $this->domain_service,
51 $this
52 );
53 $this->image = new ImageUIFactory(
54 $this->domain_service,
55 $this
56 );
57 }
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 59 of file class.InternalGUIService.php.

61 return $this->characteristic;
62 }

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:

◆ image()

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

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

66 return $this->image;
67 }

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

+ Here is the caller graph for this function:

◆ objectSettingsClass()

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

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

82 : string
83 {
84 $class = ilObjectContentStyleSettingsGUI::class;
85 if ($lower) {
86 $class = strtolower($class);
87 }
88 return $class;
89 }

◆ objectSettingsGUI()

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

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

98 $this->domain_service,
99 $this,
100 $selected_style_id,
101 $ref_id,
102 $obj_id
103 );
104 }
Style settings of a repository object.
$ref_id
Definition: ltiauth.php:66

◆ standardRequest()

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

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

72 : StandardGUIRequest {
73 return new StandardGUIRequest(
74 $this->http(),
75 $this->domain_service->refinery(),
76 $passed_query_params,
77 $passed_post_data
78 );
79 }
static http()
Fetches the global http state from ILIAS.

Field Documentation

◆ $characteristic

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

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

◆ $data_service

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

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

◆ $domain_service

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

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

◆ $image

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

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


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