ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ILIAS\Glossary\Presentation\GlossaryPresentationService Class Reference

Glossary presentation service. More...

+ Collaboration diagram for ILIAS\Glossary\Presentation\GlossaryPresentationService:

Public Member Functions

 __construct (\ilObjUser $user, array $query_params, bool $offline=false, \ilCtrl $ctrl=null)
 Constructor. More...
 
 getGlossaryGUI ()
 
 getGlossary ()
 
 getRequest ()
 Get request. More...
 

Protected Attributes

 $glo
 
 $glo_gui
 
 $offline
 

Detailed Description

Glossary presentation service.

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

Definition at line 12 of file GlossaryPresentationService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Glossary\Presentation\GlossaryPresentationService::__construct ( \ilObjUser  $user,
array  $query_params,
bool  $offline = false,
\ilCtrl  $ctrl = null 
)

Constructor.

Definition at line 32 of file GlossaryPresentationService.php.

References $DIC, ILIAS\Glossary\Presentation\GlossaryPresentationService\$offline, and user().

37  {
38  global $DIC;
39 
40  $ctrl = (is_null($ctrl))
41  ? $DIC->ctrl()
42  : $ctrl;
43 
44  $this->request = new GlossaryPresentationRequest($query_params);
45  $this->user = $user;
46  $this->ref_id = $this->request->getRequestedRefId();
47  $this->glo_gui = new \ilObjGlossaryGUI([], $this->ref_id, true, false);
48  $this->glo = $this->glo_gui->object;
49  $this->offline = $offline;
50  }
user()
Definition: user.php:4
$DIC
Definition: xapitoken.php:46
+ Here is the call graph for this function:

Member Function Documentation

◆ getGlossary()

ILIAS\Glossary\Presentation\GlossaryPresentationService::getGlossary ( )

◆ getGlossaryGUI()

ILIAS\Glossary\Presentation\GlossaryPresentationService::getGlossaryGUI ( )

◆ getRequest()

ILIAS\Glossary\Presentation\GlossaryPresentationService::getRequest ( )

Get request.

Returns
GlossaryPresentationRequest

Definition at line 73 of file GlossaryPresentationService.php.

74  {
75  return $this->request;
76  }

Field Documentation

◆ $glo

ILIAS\Glossary\Presentation\GlossaryPresentationService::$glo
protected

◆ $glo_gui

ILIAS\Glossary\Presentation\GlossaryPresentationService::$glo_gui
protected

◆ $offline

ILIAS\Glossary\Presentation\GlossaryPresentationService::$offline
protected

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