summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-12-17 14:34:52 +0100
committerAndrey Andreev <narf@bofh.bg>2012-12-17 14:34:52 +0100
commitfc7024e0ecbbc5fd268888b57da96b5ba7a0150a (patch)
tree3956542f16e3573cac68fdebd7fe09e6f388bf8f /system/libraries/Form_validation.php
parent6a53709e448bd6fd2603ede85ddd34b3388ec11f (diff)
parent4296a65693504736b5e65bee5b163fa08cacb563 (diff)
Merge pull request #2077 from AndrewPodner/develop
update for Issue #2064 - take 2
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r--system/libraries/Form_validation.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 68534251b..32f7da1b1 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -149,7 +149,7 @@ class CI_Form_validation {
* @param mixed $field
* @param string $label
* @param mixed $rules
- * @return object
+ * @return CI_Form_validation
*/
public function set_rules($field, $label = '', $rules = '')
{
@@ -266,7 +266,7 @@ class CI_Form_validation {
*
* @param array
* @param string
- * @return object
+ * @return CI_Form_validation
*/
public function set_message($lang, $val = '')
{
@@ -288,7 +288,7 @@ class CI_Form_validation {
*
* @param string
* @param string
- * @return object
+ * @return CI_Form_validation
*/
public function set_error_delimiters($prefix = '<p>', $suffix = '</p>')
{
@@ -829,7 +829,7 @@ class CI_Form_validation {
{
return sprintf($line, $field, $param);
}
-
+
return str_replace(array('{field}', '{param}'), array($field, $param), $line);
}