ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Wiki\WikiGUIRequest Class Reference
+ Collaboration diagram for ILIAS\Wiki\WikiGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getOldNr ()
 
 getUserId ()
 
 getWikiPageId ()
 
 getWikiPageIds ()
 
 getNotification ()
 
 getAssignmentId ()
 
 getWithComments ()
 
 getPage ()
 
 getFromPage ()
 
 getNewType ()
 
 getSearchString ()
 
 getSearchTerm ()
 
 getTerm ()
 
 getUserIds ()
 
 getMarks ()
 
 getComments ()
 
 getStatus ()
 
 getImportantPageId ()
 
 getImportantPageIds ()
 
 getPrintOrdering ()
 
 getStyleId ()
 
 getImportantPageOrdering ()
 
 getImportantPageIndentation ()
 
 getFormat ()
 
 getPageTemplateId ()
 
 getObjId ()
 
 getSelectedPrintType ()
 
 getIds ()
 
 getAllIds ()
 
 getNewPages ()
 
 getAddToPage ()
 
 getEmptyPageTemplate ()
 
 getStatFig ()
 
 getStatTfr ()
 
 getStatScp ()
 
 getTranslation ()
 

Data Fields

trait BaseGUIRequest
 Base gui request wrapper. More...
 

Detailed Description

Definition at line 23 of file WikiGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Wiki\WikiGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery,
?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 27 of file WikiGUIRequest.php.

32 {
33 $this->initRequest(
34 $http,
36 $passed_query_params,
37 $passed_post_data
38 );
39 }
$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.

References ILIAS\UI\examples\Layout\Page\Standard\$refinery, and ILIAS\Repository\initRequest().

+ Here is the call graph for this function:

Member Function Documentation

◆ getAddToPage()

ILIAS\Wiki\WikiGUIRequest::getAddToPage ( )
Returns
int[]

Definition at line 211 of file WikiGUIRequest.php.

211 : array
212 {
213 return $this->intArray("add_to_page");
214 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getAllIds()

ILIAS\Wiki\WikiGUIRequest::getAllIds ( )
Returns
int[]

Definition at line 199 of file WikiGUIRequest.php.

199 : array
200 {
201 return $this->intArray("all_ids");
202 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getAssignmentId()

ILIAS\Wiki\WikiGUIRequest::getAssignmentId ( )

Definition at line 72 of file WikiGUIRequest.php.

72 : int
73 {
74 return $this->int("ass");
75 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getComments()

ILIAS\Wiki\WikiGUIRequest::getComments ( )
Returns
string[]

Definition at line 125 of file WikiGUIRequest.php.

125 : array
126 {
127 return $this->strArray("lcomment");
128 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getEmptyPageTemplate()

ILIAS\Wiki\WikiGUIRequest::getEmptyPageTemplate ( )

Definition at line 216 of file WikiGUIRequest.php.

216 : int
217 {
218 return $this->int("empty_page_templ");
219 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFormat()

ILIAS\Wiki\WikiGUIRequest::getFormat ( )

Definition at line 168 of file WikiGUIRequest.php.

168 : string
169 {
170 return trim($this->str("format"));
171 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFromPage()

ILIAS\Wiki\WikiGUIRequest::getFromPage ( )

Definition at line 87 of file WikiGUIRequest.php.

87 : string
88 {
89 return (string) $this->raw("from_page");
90 }

References ILIAS\Repository\raw().

+ Here is the call graph for this function:

◆ getIds()

ILIAS\Wiki\WikiGUIRequest::getIds ( )
Returns
int[]

Definition at line 193 of file WikiGUIRequest.php.

193 : array
194 {
195 return $this->intArray("id");
196 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getImportantPageId()

ILIAS\Wiki\WikiGUIRequest::getImportantPageId ( )

Definition at line 136 of file WikiGUIRequest.php.

136 : int
137 {
138 return $this->int("imp_page_id");
139 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getImportantPageIds()

ILIAS\Wiki\WikiGUIRequest::getImportantPageIds ( )
Returns
int[]

Definition at line 142 of file WikiGUIRequest.php.

142 : array
143 {
144 return $this->intArray("imp_page_id");
145 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getImportantPageIndentation()

ILIAS\Wiki\WikiGUIRequest::getImportantPageIndentation ( )

Definition at line 163 of file WikiGUIRequest.php.

163 : array
164 {
165 return $this->intArray("indent");
166 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getImportantPageOrdering()

ILIAS\Wiki\WikiGUIRequest::getImportantPageOrdering ( )

Definition at line 158 of file WikiGUIRequest.php.

158 : array
159 {
160 return $this->intArray("ord");
161 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getMarks()

ILIAS\Wiki\WikiGUIRequest::getMarks ( )
Returns
string[]

Definition at line 119 of file WikiGUIRequest.php.

119 : array
120 {
121 return $this->strArray("mark");
122 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getNewPages()

ILIAS\Wiki\WikiGUIRequest::getNewPages ( )
Returns
int[]

Definition at line 205 of file WikiGUIRequest.php.

205 : array
206 {
207 return $this->intArray("new_pages");
208 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getNewType()

ILIAS\Wiki\WikiGUIRequest::getNewType ( )

Definition at line 92 of file WikiGUIRequest.php.

92 : string
93 {
94 return $this->str("new_type");
95 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNotification()

ILIAS\Wiki\WikiGUIRequest::getNotification ( )

Definition at line 67 of file WikiGUIRequest.php.

67 : int
68 {
69 return $this->int("ntf");
70 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getObjId()

ILIAS\Wiki\WikiGUIRequest::getObjId ( )

Definition at line 182 of file WikiGUIRequest.php.

182 : int
183 {
184 return $this->int("obj_id");
185 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getOldNr()

ILIAS\Wiki\WikiGUIRequest::getOldNr ( )

Definition at line 46 of file WikiGUIRequest.php.

46 : int
47 {
48 return $this->int("old_nr");
49 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPage()

ILIAS\Wiki\WikiGUIRequest::getPage ( )

Definition at line 82 of file WikiGUIRequest.php.

82 : string
83 {
84 return (string) $this->raw("page");
85 }

References ILIAS\Repository\raw().

+ Here is the call graph for this function:

◆ getPageTemplateId()

ILIAS\Wiki\WikiGUIRequest::getPageTemplateId ( )

Definition at line 173 of file WikiGUIRequest.php.

173 : int
174 {
175 $templ_id = $this->int("page_templ");
176 if ($templ_id === 0) {
177 $templ_id = $this->int("templ_page_id");
178 }
179 return $templ_id;
180 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPrintOrdering()

ILIAS\Wiki\WikiGUIRequest::getPrintOrdering ( )
Returns
int[]

Definition at line 148 of file WikiGUIRequest.php.

148 : array
149 {
150 return $this->intArray("wordr");
151 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Wiki\WikiGUIRequest::getRefId ( )

Definition at line 41 of file WikiGUIRequest.php.

41 : int
42 {
43 return $this->int("ref_id");
44 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSearchString()

ILIAS\Wiki\WikiGUIRequest::getSearchString ( )

Definition at line 97 of file WikiGUIRequest.php.

97 : string
98 {
99 return $this->str("srcstring");
100 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getSearchTerm()

ILIAS\Wiki\WikiGUIRequest::getSearchTerm ( )

Definition at line 102 of file WikiGUIRequest.php.

102 : string
103 {
104 return trim($this->str("search_term"));
105 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getSelectedPrintType()

ILIAS\Wiki\WikiGUIRequest::getSelectedPrintType ( )

Definition at line 187 of file WikiGUIRequest.php.

187 : string
188 {
189 return $this->str("sel_type");
190 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getStatFig()

ILIAS\Wiki\WikiGUIRequest::getStatFig ( )

Definition at line 221 of file WikiGUIRequest.php.

221 : int
222 {
223 return $this->int("fig");
224 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getStatScp()

ILIAS\Wiki\WikiGUIRequest::getStatScp ( )

Definition at line 231 of file WikiGUIRequest.php.

231 : int
232 {
233 return $this->int("scp");
234 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getStatTfr()

ILIAS\Wiki\WikiGUIRequest::getStatTfr ( )

Definition at line 226 of file WikiGUIRequest.php.

226 : string
227 {
228 return $this->str("tfr");
229 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getStatus()

ILIAS\Wiki\WikiGUIRequest::getStatus ( )
Returns
string[]

Definition at line 131 of file WikiGUIRequest.php.

131 : array
132 {
133 return $this->strArray("status");
134 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getStyleId()

ILIAS\Wiki\WikiGUIRequest::getStyleId ( )

Definition at line 153 of file WikiGUIRequest.php.

153 : int
154 {
155 return $this->int("style_id");
156 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTerm()

ILIAS\Wiki\WikiGUIRequest::getTerm ( )

Definition at line 107 of file WikiGUIRequest.php.

107 : string
108 {
109 return trim($this->str("term"));
110 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTranslation()

ILIAS\Wiki\WikiGUIRequest::getTranslation ( )

Definition at line 236 of file WikiGUIRequest.php.

236 : string
237 {
238 return $this->str("transl");
239 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\Wiki\WikiGUIRequest::getUserId ( )

Definition at line 51 of file WikiGUIRequest.php.

51 : int
52 {
53 return $this->int("user");
54 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUserIds()

ILIAS\Wiki\WikiGUIRequest::getUserIds ( )
Returns
int[]

Definition at line 113 of file WikiGUIRequest.php.

113 : array
114 {
115 return $this->intArray("user_id");
116 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getWikiPageId()

ILIAS\Wiki\WikiGUIRequest::getWikiPageId ( )

Definition at line 56 of file WikiGUIRequest.php.

56 : int
57 {
58 return $this->int("wpg_id");
59 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getWikiPageIds()

ILIAS\Wiki\WikiGUIRequest::getWikiPageIds ( )
Returns
int[]

Definition at line 62 of file WikiGUIRequest.php.

62 : array
63 {
64 return $this->intArray("obj_id");
65 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getWithComments()

ILIAS\Wiki\WikiGUIRequest::getWithComments ( )

Definition at line 77 of file WikiGUIRequest.php.

77 : bool
78 {
79 return $this->int("with_comments");
80 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

Field Documentation

◆ BaseGUIRequest

trait ILIAS\Repository::BaseGUIRequest

Base gui request wrapper.

This class processes all request parameters which are not handled by form classes already. POST overwrites GET with the same name. POST/GET parameters may be passed to the class for testing purposes.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 33 of file trait.BaseGUIRequest.php.


The documentation for this class was generated from the following file: