ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.StandardGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Blog;
22 
24 
26 {
27  use BaseGUIRequest;
28 
29  public function __construct(
32  ?array $passed_query_params = null,
33  ?array $passed_post_data = null
34  ) {
35  $this->initRequest(
36  $http,
37  $refinery,
40  );
41  }
42 
43  public function getRefId(): int
44  {
45  return $this->int("ref_id");
46  }
47 
48  public function getWspId(): int
49  {
50  return $this->int("wsp_id");
51  }
52 
53 
54  public function getGotoPage(): int
55  {
56  return $this->int("gtp");
57  }
58 
59  public function getEditing(): string
60  {
61  return $this->str("edt");
62  }
63 
64  public function getBlogPage(): int
65  {
66  return $this->int("blpg");
67  }
68 
69  public function getOldNr(): int
70  {
71  return $this->int("old_nr");
72  }
73 
74  public function getPPage(): int
75  {
76  return $this->int("ppage");
77  }
78 
79  public function getUserPage(): int
80  {
81  return $this->int("user_page");
82  }
83 
84  public function getNewType(): string
85  {
86  return $this->str("new_type");
87  }
88 
89  public function getPreviewMode(): string
90  {
91  return $this->str("prvm");
92  }
93 
94  public function getNotification(): int
95  {
96  return $this->int("ntf");
97  }
98 
99  public function getApId(): int
100  {
101  return $this->int("apid");
102  }
103 
104  public function getMonth(): string
105  {
106  return $this->str("bmn");
107  }
108 
109  public function getKeyword(): string
110  {
111  return $this->str("kwd");
112  }
113 
114  public function getAuthor(): int
115  {
116  return $this->int("ath");
117  }
118 
119  public function getPrtId(): int
120  {
121  return $this->int("prt_id");
122  }
123 
124  public function getAssId(): int
125  {
126  return $this->int("ass");
127  }
128 
129  public function getAssFile(): string
130  {
131  return trim($this->str("file"));
132  }
133 
134  public function getFetchAll(): bool
135  {
136  return (bool) $this->int("fetchall");
137  }
138 
139  public function getTerm(): string
140  {
141  return trim($this->str("term"));
142  }
143 
144  public function getTitle(): string
145  {
146  return trim($this->str("title"));
147  }
148 
149  public function getFormat(): string
150  {
151  return trim($this->str("format"));
152  }
153 
154  public function getUserLogin(): string
155  {
156  return trim($this->str("user_login"));
157  }
158 
159  public function getUserType(): string
160  {
161  return trim($this->str("user_type"));
162  }
163 
165  public function getIds(): array
166  {
167  return $this->intArray("id");
168  }
169 
170  public function getStyleId(): int
171  {
172  return $this->int("style_id");
173  }
174 
176  public function getObjIds(): array
177  {
178  return $this->intArray("obj_id");
179  }
180 }
Class ChatMainBarProvider .
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.
trait BaseGUIRequest
Base gui request wrapper.
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
$http
Definition: raiseError.php:7
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Refinery Factory $refinery