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

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getPortfolioId ()
 
 getPortfolioIds ()
 
 getBaseClass ()
 
 getNewType ()
 
 getCopyFormProcess ()
 
 getExcBackRefId ()
 
 getExcAssId ()
 
 getExcFile ()
 
 getBackUrl ()
 
 getPortfolioPageId ()
 
 getUserPage ()
 
 getPortfolioPageIds ()
 
 getConsultationHourUserId ()
 
 getCalendarSeed ()
 
 getVerificationId ()
 
 getRoleTemplateIds ()
 
 getObjIds ()
 
 getOrder ()
 
 getTitles ()
 
 getStyleId ()
 
 getPageType ()
 
 getPageTitle ()
 
 getPortfolioTitle ()
 
 getTemplateId ()
 
 getOnline ()
 
 getCourseSorting ()
 
 getPrintSelectedType ()
 
 getPortfolioTemplateId ()
 
 getPortfolioTemplate ()
 
 getExerciseRefId ()
 
 getOwnerId ()
 
 getSignature ()
 
 getIncludeDeclaration ()
 

Detailed Description

Definition at line 23 of file class.StandardGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Portfolio\StandardGUIRequest::__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 class.StandardGUIRequest.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

◆ getBackUrl()

ILIAS\Portfolio\StandardGUIRequest::getBackUrl ( )

Definition at line 98 of file class.StandardGUIRequest.php.

98 : string
99 {
100 return trim($this->str("back_url"));
101 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getBaseClass()

ILIAS\Portfolio\StandardGUIRequest::getBaseClass ( )

Definition at line 64 of file class.StandardGUIRequest.php.

64 : string
65 {
66 return $this->str("baseClass");
67 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getCalendarSeed()

ILIAS\Portfolio\StandardGUIRequest::getCalendarSeed ( )

Definition at line 128 of file class.StandardGUIRequest.php.

128 : string
129 {
130 return $this->str("seed");
131 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getConsultationHourUserId()

ILIAS\Portfolio\StandardGUIRequest::getConsultationHourUserId ( )

Definition at line 123 of file class.StandardGUIRequest.php.

123 : int
124 {
125 return $this->int("chuid");
126 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getCopyFormProcess()

ILIAS\Portfolio\StandardGUIRequest::getCopyFormProcess ( )

Definition at line 74 of file class.StandardGUIRequest.php.

74 : bool
75 {
76 return (bool) $this->int("cpfl");
77 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getCourseSorting()

ILIAS\Portfolio\StandardGUIRequest::getCourseSorting ( )

Definition at line 193 of file class.StandardGUIRequest.php.

193 : string
194 {
195 return $this->str("srt");
196 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getExcAssId()

ILIAS\Portfolio\StandardGUIRequest::getExcAssId ( )

Definition at line 84 of file class.StandardGUIRequest.php.

84 : int
85 {
86 $ass_id = $this->int("ass");
87 if ($ass_id === 0) {
88 $ass_id = $this->int("ass_id");
89 }
90 return $ass_id;
91 }

References $ass_id, and ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getExcBackRefId()

ILIAS\Portfolio\StandardGUIRequest::getExcBackRefId ( )

Definition at line 79 of file class.StandardGUIRequest.php.

79 : int
80 {
81 return $this->int("exc_back_ref_id");
82 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getExcFile()

ILIAS\Portfolio\StandardGUIRequest::getExcFile ( )

Definition at line 93 of file class.StandardGUIRequest.php.

93 : string
94 {
95 return trim($this->str("file"));
96 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getExerciseRefId()

ILIAS\Portfolio\StandardGUIRequest::getExerciseRefId ( )

Definition at line 213 of file class.StandardGUIRequest.php.

213 : int
214 {
215 return $this->int("exc_id");
216 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getIncludeDeclaration()

ILIAS\Portfolio\StandardGUIRequest::getIncludeDeclaration ( )

Definition at line 228 of file class.StandardGUIRequest.php.

228 : bool
229 {
230 return (bool) $this->int("decl_author");
231 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNewType()

ILIAS\Portfolio\StandardGUIRequest::getNewType ( )

Definition at line 69 of file class.StandardGUIRequest.php.

69 : string
70 {
71 return $this->str("new_type");
72 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getObjIds()

ILIAS\Portfolio\StandardGUIRequest::getObjIds ( )
Returns
string[]

Definition at line 145 of file class.StandardGUIRequest.php.

145 : array
146 {
147 return $this->strArray("obj_id");
148 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getOnline()

ILIAS\Portfolio\StandardGUIRequest::getOnline ( )
Returns
string[]

Definition at line 188 of file class.StandardGUIRequest.php.

188 : array
189 {
190 return $this->strArray("online");
191 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getOrder()

ILIAS\Portfolio\StandardGUIRequest::getOrder ( )
Returns
int[]

Definition at line 151 of file class.StandardGUIRequest.php.

151 : array
152 {
153 return $this->intArray("order");
154 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getOwnerId()

ILIAS\Portfolio\StandardGUIRequest::getOwnerId ( )

Definition at line 218 of file class.StandardGUIRequest.php.

218 : int
219 {
220 return $this->int("owner_id");
221 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPageTitle()

ILIAS\Portfolio\StandardGUIRequest::getPageTitle ( )

Definition at line 172 of file class.StandardGUIRequest.php.

172 : string
173 {
174 return $this->str("fpage");
175 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPageType()

ILIAS\Portfolio\StandardGUIRequest::getPageType ( )

Definition at line 167 of file class.StandardGUIRequest.php.

167 : string
168 {
169 return $this->str("ptype");
170 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPortfolioId()

ILIAS\Portfolio\StandardGUIRequest::getPortfolioId ( )

Definition at line 46 of file class.StandardGUIRequest.php.

46 : int
47 {
48 $prt_id = $this->int("prt_id");
49 if ($prt_id === 0) {
50 $prt_id = $this->int("prtf");
51 }
52 return $prt_id;
53 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPortfolioIds()

ILIAS\Portfolio\StandardGUIRequest::getPortfolioIds ( )

Definition at line 55 of file class.StandardGUIRequest.php.

55 : array
56 {
57 $ids = $this->intArray("prtfs");
58 if ((count($ids) === 0) && $this->int("prtf") > 0) {
59 $ids = [$this->int("prtf")];
60 }
61 return $ids;
62 }

References ILIAS\Repository\int(), and ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getPortfolioPageId()

ILIAS\Portfolio\StandardGUIRequest::getPortfolioPageId ( )

Definition at line 103 of file class.StandardGUIRequest.php.

103 : int
104 {
105 return $this->int("ppage");
106 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPortfolioPageIds()

ILIAS\Portfolio\StandardGUIRequest::getPortfolioPageIds ( )
Returns
int[]

Definition at line 114 of file class.StandardGUIRequest.php.

114 : array
115 {
116 $pages = $this->intArray("prtf_pages");
117 if ((count($pages) === 0) && $this->int("prtf_page") > 0) {
118 $pages = [$this->int("prtf_page")];
119 }
120 return $pages;
121 }

References ILIAS\Repository\int(), and ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getPortfolioTemplate()

ILIAS\Portfolio\StandardGUIRequest::getPortfolioTemplate ( )

Definition at line 208 of file class.StandardGUIRequest.php.

208 : int
209 {
210 return $this->int("prtt");
211 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPortfolioTemplateId()

ILIAS\Portfolio\StandardGUIRequest::getPortfolioTemplateId ( )

Definition at line 203 of file class.StandardGUIRequest.php.

203 : int
204 {
205 return $this->int("prtt_pre");
206 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPortfolioTitle()

ILIAS\Portfolio\StandardGUIRequest::getPortfolioTitle ( )

Definition at line 177 of file class.StandardGUIRequest.php.

177 : string
178 {
179 return trim($this->str("pt"));
180 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPrintSelectedType()

ILIAS\Portfolio\StandardGUIRequest::getPrintSelectedType ( )

Definition at line 198 of file class.StandardGUIRequest.php.

198 : string
199 {
200 return $this->str("sel_type");
201 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Portfolio\StandardGUIRequest::getRefId ( )

Definition at line 41 of file class.StandardGUIRequest.php.

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRoleTemplateIds()

ILIAS\Portfolio\StandardGUIRequest::getRoleTemplateIds ( )
Returns
string[]

Definition at line 139 of file class.StandardGUIRequest.php.

139 : array
140 {
141 return $this->strArray("role_template_ids");
142 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getSignature()

ILIAS\Portfolio\StandardGUIRequest::getSignature ( )

Definition at line 223 of file class.StandardGUIRequest.php.

223 : bool
224 {
225 return (bool) $this->int("signature");
226 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getStyleId()

ILIAS\Portfolio\StandardGUIRequest::getStyleId ( )

Definition at line 162 of file class.StandardGUIRequest.php.

162 : int
163 {
164 return $this->int("style_id");
165 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTemplateId()

ILIAS\Portfolio\StandardGUIRequest::getTemplateId ( )

Definition at line 182 of file class.StandardGUIRequest.php.

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTitles()

ILIAS\Portfolio\StandardGUIRequest::getTitles ( )
Returns
string[]

Definition at line 157 of file class.StandardGUIRequest.php.

157 : array
158 {
159 return $this->strArray("title");
160 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getUserPage()

ILIAS\Portfolio\StandardGUIRequest::getUserPage ( )

Definition at line 108 of file class.StandardGUIRequest.php.

108 : int
109 {
110 return $this->int("user_page");
111 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getVerificationId()

ILIAS\Portfolio\StandardGUIRequest::getVerificationId ( )

Definition at line 133 of file class.StandardGUIRequest.php.

133 : int
134 {
135 return $this->int("dlid");
136 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

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