@@ -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) { |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | self::$logger = $logger[0]; |
| 45 | 45 | } |
| 46 | 46 | if ($setLoggerName) { |
| 47 | - self::$logger->setLogger('Class::' . get_called_class()); |
|
| 47 | + self::$logger->setLogger('Class::' . get_called_class()); |
|
| 48 | 48 | } |
| 49 | 49 | return self::$logger; |
| 50 | 50 | } |