ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
25 
30 {
33 
34  public function __construct(
35  InternalDomainService $domain_service,
36  InternalGUIService $gui_service
37  ) {
38  $this->gui_service = $gui_service;
39  $this->domain_service = $domain_service;
40  }
41 
42  public function request(?array $query_params = null): PresentationGUIRequest
43  {
44  return new PresentationGUIRequest(
45  $this->gui_service->http(),
46  $this->domain_service->refinery(),
47  $query_params
48  );
49  }
50 
51  public function ObjGlossaryGUI(int $ref_id): \ilObjGlossaryGUI
52  {
53  return new \ilObjGlossaryGUI([], $ref_id, true, false);
54  }
55 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(InternalDomainService $domain_service, InternalGUIService $gui_service)
$ref_id
Definition: ltiauth.php:67
request(?array $query_params=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...