aboutsummaryrefslogtreecommitdiff
path: root/classes/helpers/CinisisHttpHelper.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-16 15:48:17 -0300
committerSilvio <silvio@devlet.com.br>2010-08-16 15:48:17 -0300
commite7e7ea4467452f6e08cf79ca0a8e6b9e216407c6 (patch)
treea1c5013cece6f71ce332a4105190ab21dd0e171b /classes/helpers/CinisisHttpHelper.php
parent2ec3b3c05e535ffacb1e10a64aa62ad057499d47 (diff)
downloadcinisis-e7e7ea4467452f6e08cf79ca0a8e6b9e216407c6.tar.gz
cinisis-e7e7ea4467452f6e08cf79ca0a8e6b9e216407c6.tar.bz2
Comments
Diffstat (limited to 'classes/helpers/CinisisHttpHelper.php')
-rw-r--r--classes/helpers/CinisisHttpHelper.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/helpers/CinisisHttpHelper.php b/classes/helpers/CinisisHttpHelper.php
index 34ff349..eae8a8d 100644
--- a/classes/helpers/CinisisHttpHelper.php
+++ b/classes/helpers/CinisisHttpHelper.php
@@ -1,6 +1,18 @@
<?php
+/**
+ * Http helper for test scripts.
+ */
class CinisisHttpHelper {
+ /**
+ * Get a numeric argument.
+ *
+ * @param $name
+ * Argument name.
+ *
+ * @return
+ * Argument value.
+ */
static function get_numeric_arg($name) {
// Get the query parameter.
if (isset($_GET[$name]) && ! empty($_GET[$name])) {