ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

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

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

Member Function Documentation

◆ getCurrentPageGUI()

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

Definition at line 55 of file GUIService.php.

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.

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

+ Here is the call graph for this function:

◆ navigation()

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

Definition at line 45 of file GUIService.php.

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 }

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

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