@@ -196,13 +196,13 @@ |
||
196 | 196 | return $session; |
197 | 197 | } |
198 | 198 | |
199 | - /** |
|
200 | - * Get the value from $_GET, $_POST, $_SERVER etc. for given key. if the key is empty will return the all values |
|
201 | - * @param string $type the type can be "post", "get", etc. |
|
202 | - * @param string $key the item key to be fetched |
|
203 | - * @param boolean $xss if need apply some XSS rule on the value |
|
204 | - * @return array|mixed the item value if the key exists or all array if the key is null |
|
205 | - */ |
|
199 | + /** |
|
200 | + * Get the value from $_GET, $_POST, $_SERVER etc. for given key. if the key is empty will return the all values |
|
201 | + * @param string $type the type can be "post", "get", etc. |
|
202 | + * @param string $key the item key to be fetched |
|
203 | + * @param boolean $xss if need apply some XSS rule on the value |
|
204 | + * @return array|mixed the item value if the key exists or all array if the key is null |
|
205 | + */ |
|
206 | 206 | protected function getVars($type, $key = null, $xss = true) { |
207 | 207 | $data = null; |
208 | 208 | if ($key !== null) { |