summaryrefslogtreecommitdiffstats
path: root/inc/request.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-11 19:00:30 +0200
committerSimon Rettberg2016-05-11 19:00:30 +0200
commit1cc1c2ed092c46eb35893c1d85accb24cf43d7f9 (patch)
tree95c1302f4a1ae441e174a1dca64133e2873f8297 /inc/request.inc.php
parentAdd PhpStorm prefs (diff)
downloadslx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.tar.gz
slx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.tar.xz
slx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.zip
Still working in modularization cleanup and refinement
Diffstat (limited to 'inc/request.inc.php')
-rw-r--r--inc/request.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/request.inc.php b/inc/request.inc.php
index 604a2b0e..f46210af 100644
--- a/inc/request.inc.php
+++ b/inc/request.inc.php
@@ -5,11 +5,12 @@
*/
class Request
{
-
+
/**
- *
+ *
* @param string $key Key of field to get from $_GET
* @param string $default Value to return if $_GET does not contain $key
+ * @param string $type if the parameter exists, cast it to given type
* @return mixed Field from $_GET, or $default if not set
*/
public static function get($key, $default = false, $type = false)