ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.StandardGUIRequest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace 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,
38 $passed_query_params,
39 $passed_post_data
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 public function getBlogPage(): int
54 {
55 return $this->int("blpg");
56 }
57
58 public function getOldNr(): int
59 {
60 return $this->int("old_nr");
61 }
62
63 public function getPPage(): int
64 {
65 return $this->int("ppage");
66 }
67
68 public function getUserPage(): int
69 {
70 return $this->int("user_page");
71 }
72
73 public function getNewType(): string
74 {
75 return $this->str("new_type");
76 }
77
78 public function getPreviewMode(): string
79 {
80 return $this->str("prvm");
81 }
82
83 public function getNotification(): int
84 {
85 return $this->int("ntf");
86 }
87
88 public function getApId(): int
89 {
90 return $this->int("apid");
91 }
92
93 public function getMonth(): string
94 {
95 return $this->str("bmn");
96 }
97
98 public function getKeyword(): string
99 {
100 return $this->str("kwd");
101 }
102
103 public function getAuthor(): int
104 {
105 return $this->int("ath");
106 }
107
108 public function getAssId(): int
109 {
110 return $this->int("ass");
111 }
112
113 public function getAssFile(): string
114 {
115 return trim($this->str("file"));
116 }
117
118 public function getFetchAll(): bool
119 {
120 return (bool) $this->int("fetchall");
121 }
122
123 public function getTerm(): string
124 {
125 return trim($this->str("term"));
126 }
127
128 public function getTitle(): string
129 {
130 return trim($this->str("title"));
131 }
132
133 public function getFormat(): string
134 {
135 return trim($this->str("format"));
136 }
137
138 public function getUserLogin(): string
139 {
140 return trim($this->str("user_login"));
141 }
142
143 public function getUserType(): string
144 {
145 return trim($this->str("user_type"));
146 }
147
149 public function getIds(): array
150 {
151 return $this->intArray("id");
152 }
153
154 public function getStyleId(): int
155 {
156 return $this->int("style_id");
157 }
158
160 public function getObjIds(): array
161 {
162 return $this->intArray("obj_id");
163 }
164}
__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
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: deliver.php:30
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.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.