ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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.

References ILIAS\Repository\initGUIServices().

38  {
39  $this->initGUIServices($DIC);
40  }
initGUIServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26
+ 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.

Referenced by ilObjBlogGUI\executeCommand().

75  : Exercise\GUIService
76  {
77  return new Exercise\GUIService(
78  $this->data_service,
79  $this->domain_service,
80  $this
81  );
82  }
+ 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.

References $ref_id.

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:65

◆ presentation()

ILIAS\Blog\InternalGUIService::presentation ( )

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

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

50  : Presentation\GUIService
51  {
52  return new Presentation\GUIService(
53  $this->domain_service,
54  $this
55  );
56  }
+ Here is the caller graph for this function:

◆ readingTime()

ILIAS\Blog\InternalGUIService::readingTime ( )

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

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

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  }
+ Here is the caller graph for this function:

◆ settings()

ILIAS\Blog\InternalGUIService::settings ( )

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

Referenced by ilObjBlogGUI\executeCommand().

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  }
+ Here is the caller graph for this function:

◆ standardRequest()

ILIAS\Blog\InternalGUIService::standardRequest ( )

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

References ILIAS\FileDelivery\http().

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

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.
+ 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: