summaryrefslogtreecommitdiffstats
path: root/inc/request.inc.php
diff options
context:
space:
mode:
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)