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

Public Member Functions

 __construct (Services $http, Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getObjId ()
 
 getId ()
 
 getIds ()
 
 getToStyleId ()
 
 getFromStyleId ()
 
 getCatId ()
 
 getStyleType ()
 
 getTempType ()
 
 getAdminMode ()
 
 getColorName ()
 
 getMediaQueryId ()
 
 getMediaQueryIds ()
 
 getTemplateId ()
 
 getTemplateIds ()
 
 getFile ()
 
 getFiles ()
 
 getCharacteristics ()
 
 getCharacteristic ()
 
 getTag ()
 
 getAllCharacteristics ()
 
 getHidden ()
 
 getOrder ()
 
 getTitles ()
 
 getConflictAction ()
 
 getSelectedStandard ($style_id)
 
 getColors ()
 

Data Fields

trait BaseGUIRequest
 Base gui request wrapper. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Style\Content\StandardGUIRequest::__construct ( Services  $http,
Factory  $refinery,
?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

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

36 {
37 $this->initRequest(
38 $http,
40 $passed_query_params,
41 $passed_post_data
42 );
43 }
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

◆ getAdminMode()

ILIAS\Style\Content\StandardGUIRequest::getAdminMode ( )

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

90 : string
91 {
92 return $this->str("admin_mode");
93 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getAllCharacteristics()

ILIAS\Style\Content\StandardGUIRequest::getAllCharacteristics ( )

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

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

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getCatId()

ILIAS\Style\Content\StandardGUIRequest::getCatId ( )

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

75 : int
76 {
77 return $this->int("cat");
78 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getCharacteristic()

ILIAS\Style\Content\StandardGUIRequest::getCharacteristic ( )

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

141 : string
142 {
143 return $this->str("char");
144 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getCharacteristics()

ILIAS\Style\Content\StandardGUIRequest::getCharacteristics ( )

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

136 : array
137 {
138 return $this->strArray("char");
139 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getColorName()

ILIAS\Style\Content\StandardGUIRequest::getColorName ( )

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

95 : string
96 {
97 return $this->str("c_name");
98 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getColors()

ILIAS\Style\Content\StandardGUIRequest::getColors ( )

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

181 : array
182 {
183 return $this->strArray("color");
184 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getConflictAction()

ILIAS\Style\Content\StandardGUIRequest::getConflictAction ( )

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

171 : array
172 {
173 return $this->strArray("conflict_action");
174 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getFile()

ILIAS\Style\Content\StandardGUIRequest::getFile ( )

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

120 : string
121 {
122 return $this->str("file");
123 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFiles()

ILIAS\Style\Content\StandardGUIRequest::getFiles ( )

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

125 : array
126 {
127 $files = $this->strArray("file");
128 if (count($files) == 0) {
129 if ($this->str("file") != "") {
130 $files[] = $this->str("file");
131 }
132 }
133 return $files;
134 }

References ILIAS\Repository\str(), and ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getFromStyleId()

ILIAS\Style\Content\StandardGUIRequest::getFromStyleId ( )

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

70 : int
71 {
72 return $this->int("from_style");
73 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getHidden()

ILIAS\Style\Content\StandardGUIRequest::getHidden ( )

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

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

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getId()

ILIAS\Style\Content\StandardGUIRequest::getId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getIds()

ILIAS\Style\Content\StandardGUIRequest::getIds ( )

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

60 : array
61 {
62 return $this->intArray("id");
63 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getMediaQueryId()

ILIAS\Style\Content\StandardGUIRequest::getMediaQueryId ( )

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

100 : int
101 {
102 return $this->int("mq_id");
103 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getMediaQueryIds()

ILIAS\Style\Content\StandardGUIRequest::getMediaQueryIds ( )

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

105 : array
106 {
107 return $this->intArray("mq_id");
108 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getObjId()

ILIAS\Style\Content\StandardGUIRequest::getObjId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getOrder()

ILIAS\Style\Content\StandardGUIRequest::getOrder ( )

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

161 : array
162 {
163 return $this->strArray("order");
164 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Style\Content\StandardGUIRequest::getRefId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSelectedStandard()

ILIAS\Style\Content\StandardGUIRequest::getSelectedStandard (   $style_id)

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

176 : int
177 {
178 return $this->int("std_" . $style_id);
179 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getStyleType()

ILIAS\Style\Content\StandardGUIRequest::getStyleType ( )

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

80 : string
81 {
82 return $this->str("style_type");
83 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTag()

ILIAS\Style\Content\StandardGUIRequest::getTag ( )

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

146 : string
147 {
148 return $this->str("tag");
149 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTemplateId()

ILIAS\Style\Content\StandardGUIRequest::getTemplateId ( )

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

110 : int
111 {
112 return $this->int("t_id");
113 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTemplateIds()

ILIAS\Style\Content\StandardGUIRequest::getTemplateIds ( )

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

115 : array
116 {
117 return $this->intArray("tid");
118 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getTempType()

ILIAS\Style\Content\StandardGUIRequest::getTempType ( )

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

85 : string
86 {
87 return $this->str("temp_type");
88 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTitles()

ILIAS\Style\Content\StandardGUIRequest::getTitles ( )

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

166 : array
167 {
168 return $this->strArray("title");
169 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getToStyleId()

ILIAS\Style\Content\StandardGUIRequest::getToStyleId ( )

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

65 : int
66 {
67 return $this->int("to_style");
68 }

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: