ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\Wiki\Wiki\GUIService Class Reference
+ Collaboration diagram for ILIAS\Wiki\Wiki\GUIService:

Public Member Functions

 __construct (InternalDomainService $domain_service, InternalGUIService $gui_service)
 
 translation (int $wiki_ref_id=0)
 

Protected Member Functions

 getObjWikiGUI ()
 

Protected Attributes

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 29 of file GUIService.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 34 of file GUIService.php.

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

37  {
38  $this->gui_service = $gui_service;
39  $this->domain_service = $domain_service;
40  }
InternalGUIService $gui_service
Definition: GUIService.php:31
InternalDomainService $domain_service
Definition: GUIService.php:32

Member Function Documentation

◆ getObjWikiGUI()

ILIAS\Wiki\Wiki\GUIService::getObjWikiGUI ( )
protected

Definition at line 42 of file GUIService.php.

References $ref_id.

43  {
44  $ref_id = $this->gui_service->request()->getRefId();
45  $this->domain_service->wiki()->checkRefId($ref_id);
46  return new \ilObjWikiGUI(
47  "",
48  $this->gui_service->request()->getRefId(),
49  true,
50  false
51  );
52  }
$ref_id
Definition: ltiauth.php:67

◆ translation()

ILIAS\Wiki\Wiki\GUIService::translation ( int  $wiki_ref_id = 0)

Definition at line 54 of file GUIService.php.

55  {
56  if ($wiki_ref_id === 0) {
57  $wiki_ref_id = $this->gui_service->request()->getRefId();
58  }
59  return $this->domain_service->wiki()->translation(
60  $this->domain_service->wiki()->getObjId(
61  $wiki_ref_id
62  )
63  );
64  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $domain_service

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

Definition at line 32 of file GUIService.php.

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

◆ $gui_service

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

Definition at line 31 of file GUIService.php.

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


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