ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
30 {
31  protected InternalGUIService $gui_service;
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 
57  {
58  return new \ilTermDefinitionBulkCreationGUI($this->domain_service, $this->gui_service, $glossary);
59  }
60 
61  public function PresentationFullGUI(
62  \ilGlossaryPresentationGUI $parent_object,
63  \ilObjGlossary $glossary,
64  bool $offline_mode,
65  int $tax_node = 0
66  ) {
67  return new \ilPresentationFullGUI($parent_object, $glossary, $offline_mode, $tax_node);
68  }
69 
70  public function PresentationTableGUI(
71  \ilGlossaryPresentationGUI $parent_object,
72  \ilObjGlossary $glossary,
73  bool $offline_mode,
74  int $tax_node = 0
75  ) {
76  return new \ilPresentationTableGUI($parent_object, $glossary, $offline_mode, $tax_node);
77  }
78 }
GUI class for ilGlossary.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$ref_id
Definition: ltiauth.php:65
PresentationFullGUI(\ilGlossaryPresentationGUI $parent_object, \ilObjGlossary $glossary, bool $offline_mode, int $tax_node=0)
PresentationTableGUI(\ilGlossaryPresentationGUI $parent_object, \ilObjGlossary $glossary, bool $offline_mode, int $tax_node=0)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...