diff options
author | Michiel Vugteveen <michiel@it-can.nl> | 2012-03-02 10:10:34 +0100 |
---|---|---|
committer | Michiel Vugteveen <michiel@it-can.nl> | 2012-03-02 10:10:34 +0100 |
commit | 676a0dd74409e7e838b94484ef9ba066dcf6db91 (patch) | |
tree | 4e64d60927bf83d4d779245a2fb8767b6ef86a5e /system/libraries | |
parent | 963386ba6072d240840b58d6dbe54287edcb04ad (diff) |
updated error_array #565
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Form_validation.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 2ee734ae6..5069a44c1 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -235,6 +235,20 @@ class CI_Form_validation { // -------------------------------------------------------------------- /** + * Get Array of Error Messages + * + * Returns the error messages as an array + * + * @return array + */ + public function error_array() + { + return $this->_error_array; + } + + // -------------------------------------------------------------------- + + /** * Error String * * Returns the error messages as a string, wrapped in the error delimiters |