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