ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.PresentationGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
20 
22 
24 {
25  use BaseGUIRequest;
26 
27  public function __construct(
30  ?array $passed_query_params = null,
31  ?array $passed_post_data = null
32  ) {
33  $this->initRequest(
34  $http,
35  $refinery,
36  $passed_query_params,
37  $passed_post_data
38  );
39  }
40 
41  public function getMobId(): int
42  {
43  return $this->int("mob_id");
44  }
45 
49  protected function getTableIds(string $key): array
50  {
51  return $this->strArray($key);
52  }
53 
54  protected function getTableAction(string $key): string
55  {
56  return $this->str($key);
57  }
58 
59  public function getFileId(): string
60  {
61  return $this->str("file_id");
62  }
63 
64  public function getSearchString(): string
65  {
66  return $this->str("srcstring");
67  }
68 
69  public function getDefinitionPageId(): int
70  {
71  return $this->int("pg_id");
72  }
73 
74  public function getRefId(): int
75  {
76  return $this->int("ref_id");
77  }
78 
79  public function getTermId(): int
80  {
81  return $this->int("term_id");
82  }
83 
84  public function getTaxNode(): int
85  {
86  return $this->int("tax_node");
87  }
88 
89  public function getLetter(): string
90  {
91  return $this->str("letter");
92  }
93 
94  public function getBoxId(): int
95  {
96  return $this->int("box_id");
97  }
98 
99  public function getCurrentPage(): int
100  {
101  return $this->int("current_page");
102  }
103 
104  public function getPageLength(): int
105  {
106  return $this->int("page_length");
107  }
108 
109  public function getViewControlStart(): int
110  {
111  return $this->int("vc_start");
112  }
113 
114  public function getViewControlLength(): int
115  {
116  return $this->int("vc_length");
117  }
118 }
Interface Observer Contains several chained tasks and infos about them.
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
$http
Definition: deliver.php:30
trait BaseGUIRequest
Base gui request wrapper.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
initRequest(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Query params and post data parameters are used for testing.
Builds data types.
Definition: Factory.php:35
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...