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

Public Member Functions

 __construct (Container $DIC, protected InternalDataService $data_service, protected InternalDomainService $domain_service)
 
 navigation ()
 
 presentation ()
 
 standardRequest ()
 
 contributor ()
 
 exercise ()
 
 permanentLink (int $ref_id=0, int $wsp_id=0)
 
 settings ()
 
 readingTime ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Blog\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

◆ contributor()

ILIAS\Blog\InternalGUIService::contributor ( )

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

66 : Contributor\GUIService
67 {
68 return new Contributor\GUIService(
69 $this->data_service,
70 $this->domain_service,
71 $this
72 );
73 }

◆ exercise()

ILIAS\Blog\InternalGUIService::exercise ( )

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

75 : Exercise\GUIService
76 {
77 return new Exercise\GUIService(
78 $this->data_service,
79 $this->domain_service,
80 $this
81 );
82 }

Referenced by ilObjBlogGUI\executeCommand().

+ Here is the caller graph for this function:

◆ navigation()

ILIAS\Blog\InternalGUIService::navigation ( )

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

42 : Navigation\GUIService
43 {
44 return new Navigation\GUIService(
45 $this->domain_service,
46 $this
47 );
48 }

◆ permanentLink()

ILIAS\Blog\InternalGUIService::permanentLink ( int  $ref_id = 0,
int  $wsp_id = 0 
)

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

87 : PermanentLinkManager {
88 return new PermanentLinkManager(
89 $this->domain_service->staticUrl(),
90 $this,
91 $ref_id,
92 $wsp_id
93 );
94 }
$ref_id
Definition: ltiauth.php:66

◆ presentation()

ILIAS\Blog\InternalGUIService::presentation ( )

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

50 : Presentation\GUIService
51 {
52 return new Presentation\GUIService(
53 $this->domain_service,
54 $this
55 );
56 }

Referenced by ILIAS\Blog\Navigation\ToolbarNavigationRenderer\__construct().

+ Here is the caller graph for this function:

◆ readingTime()

ILIAS\Blog\InternalGUIService::readingTime ( )

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

106 : GUIService
107 {
108 return self::$instance["reading_time"] ??
109 self::$instance["reading_time"] = new ReadingTime\GUIService(
110 $this->data_service,
111 $this->domain_service,
112 $this
113 );
114 }

Referenced by ilObjBlogGUI\__construct(), and ILIAS\Blog\Settings\SettingsGUI\__construct().

+ Here is the caller graph for this function:

◆ settings()

ILIAS\Blog\InternalGUIService::settings ( )

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

96 : Settings\GUIService
97 {
98 return self::$instance["settings"] ??
99 self::$instance["settings"] = new Settings\GUIService(
100 $this->data_service,
101 $this->domain_service,
102 $this
103 );
104 }

Referenced by ilObjBlogGUI\executeCommand().

+ Here is the caller graph for this function:

◆ standardRequest()

ILIAS\Blog\InternalGUIService::standardRequest ( )

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

58 : StandardGUIRequest
59 {
60 return new StandardGUIRequest(
61 $this->http(),
62 $this->domain_service->refinery()
63 );
64 }
static http()
Fetches the global http state from ILIAS.

References ILIAS\FileDelivery\http().

Referenced by ilObjBlogGUI\__construct(), and ILIAS\PermanentLink\PermanentLinkManager\__construct().

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

Field Documentation

◆ $instance

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

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


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