From 3ee2c153df3633c707da10a159c6104bfbe1c6d6 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 20 Aug 2010 15:46:01 -0300 Subject: Minor changes --- classes/helpers/CinisisHttpHelper.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'classes/helpers/CinisisHttpHelper.php') diff --git a/classes/helpers/CinisisHttpHelper.php b/classes/helpers/CinisisHttpHelper.php index e262b3a..1bc540a 100644 --- a/classes/helpers/CinisisHttpHelper.php +++ b/classes/helpers/CinisisHttpHelper.php @@ -16,7 +16,7 @@ class CinisisHttpHelper { * @return * Argument value. */ - static function get_arg($name, $default = 1) { + static function getArg($name, $default = 1) { // Get the query parameter. if (isset($_GET[$name]) && ! empty($_GET[$name])) { $arg = $_GET[$name]; @@ -37,8 +37,8 @@ class CinisisHttpHelper { * @return * Argument value. */ - static function get_numeric_arg($name) { - return (int) self::get_arg($name, 1); + static function getNumericArg($name) { + return (int) self::getArg($name, 1); } /** @@ -50,7 +50,7 @@ class CinisisHttpHelper { * @return * Argument value. */ - static function get_textual_arg($name) { - return (string) self::get_arg($name, 'a'); + static function getTextualArg($name) { + return htmlspecialchars((string) self::getArg($name, 'a')); } } -- cgit v1.2.3