ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\Wiki\Content\GUIService Class Reference
+ Collaboration diagram for ILIAS\Wiki\Content\GUIService:

Public Member Functions

 __construct (InternalDomainService $domain_service, InternalGUIService $gui_service)
 
 getCurrentPageGUI ()
 

Protected Member Functions

 navigation ()
 

Protected Attributes

WikiGUIRequest $request
 
InternalGUIService $gui_service
 
InternalDomainService $domain_service
 

Detailed Description

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

Definition at line 30 of file GUIService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Wiki\Content\GUIService::__construct ( InternalDomainService  $domain_service,
InternalGUIService  $gui_service 
)

Definition at line 36 of file GUIService.php.

References ILIAS\Wiki\Content\GUIService\$domain_service, and ILIAS\Wiki\Content\GUIService\$gui_service.

39  {
40  $this->gui_service = $gui_service;
41  $this->domain_service = $domain_service;
42  $this->request = $this->gui_service->request();
43  }
InternalDomainService $domain_service
Definition: GUIService.php:34
InternalGUIService $gui_service
Definition: GUIService.php:33

Member Function Documentation

◆ getCurrentPageGUI()

ILIAS\Wiki\Content\GUIService::getCurrentPageGUI ( )

Definition at line 55 of file GUIService.php.

References ILIAS\Wiki\Content\GUIService\navigation().

56  {
57  $nav = $this->navigation();
58  return $this->gui_service->page()->getWikiPageGUI(
59  $this->request->getRefId(),
60  $nav->getCurrentPageId(),
61  0,
62  $nav->getCurrentPageLanguage()
63  );
64  }
Class ilWikiPage GUI class.
+ Here is the call graph for this function:

◆ navigation()

ILIAS\Wiki\Content\GUIService::navigation ( )
protected

Definition at line 45 of file GUIService.php.

Referenced by ILIAS\Wiki\Content\GUIService\getCurrentPageGUI().

45  : NavigationManager
46  {
47  return $this->domain_service->content()->navigation(
48  $this->domain_service->wiki()->object($this->request->getRefId()),
49  $this->request->getWikiPageId(),
50  $this->request->getPage(),
51  $this->request->getTranslation()
52  );
53  }
+ Here is the caller graph for this function:

Field Documentation

◆ $domain_service

InternalDomainService ILIAS\Wiki\Content\GUIService::$domain_service
protected

Definition at line 34 of file GUIService.php.

Referenced by ILIAS\Wiki\Content\GUIService\__construct().

◆ $gui_service

InternalGUIService ILIAS\Wiki\Content\GUIService::$gui_service
protected

Definition at line 33 of file GUIService.php.

Referenced by ILIAS\Wiki\Content\GUIService\__construct().

◆ $request

WikiGUIRequest ILIAS\Wiki\Content\GUIService::$request
protected

Definition at line 32 of file GUIService.php.


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