ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Wiki\InternalGUIService Class Reference
+ Collaboration diagram for ILIAS\Wiki\InternalGUIService:

Public Member Functions

 __construct (Container $DIC, protected InternalDataService $data_service, protected InternalDomainService $domain_service)
 
 request (?array $passed_query_params=null, ?array $passed_post_data=null)
 
 content ()
 
 page ()
 
 notification ()
 
 wiki ()
 
 settings ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Wiki\InternalGUIService::__construct ( Container  $DIC,
protected InternalDataService  $data_service,
protected InternalDomainService  $domain_service 
)

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

38 {
39 $this->initGUIServices($DIC);
40 }
initGUIServices(\ILIAS\DI\Container $DIC)

References ILIAS\Repository\initGUIServices().

+ Here is the call graph for this function:

Member Function Documentation

◆ content()

ILIAS\Wiki\InternalGUIService::content ( )

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

54 : Content\GUIService
55 {
56 return self::$instance["content"] ??= new Content\GUIService(
57 $this->domain_service,
58 $this
59 );
60 }

◆ notification()

ILIAS\Wiki\InternalGUIService::notification ( )

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

70 : NotificationGUI
71 {
72 return self::$instance["notification"] ??= new NotificationGUI(
73 $this->domain_service,
74 $this
75 );
76 }

◆ page()

ILIAS\Wiki\InternalGUIService::page ( )

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

62 : Page\GUIService
63 {
64 return self::$instance["page"] ??= new Page\GUIService(
65 $this->domain_service,
66 $this
67 );
68 }

◆ request()

ILIAS\Wiki\InternalGUIService::request ( ?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

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

45 : WikiGUIRequest {
46 return new WikiGUIRequest(
47 $this->http(),
48 $this->domain_service->refinery(),
49 $passed_query_params,
50 $passed_post_data
51 );
52 }
static http()
Fetches the global http state from ILIAS.

◆ settings()

ILIAS\Wiki\InternalGUIService::settings ( )

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

87 : Settings\GUIService {
88 return self::$instance["settings"] ??= new Settings\GUIService(
89 $this->data_service,
90 $this->domain_service,
91 $this
92 );
93 }

◆ wiki()

ILIAS\Wiki\InternalGUIService::wiki ( )

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

78 : Wiki\GUIService
79 {
80 return self::$instance["wiki"] ??= new Wiki\GUIService(
81 $this->domain_service,
82 $this
83 );
84 }

Field Documentation

◆ $instance

array ILIAS\Wiki\InternalGUIService::$instance = []
staticprotected

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


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