diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-03-02 15:07:04 +0100 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-03-02 15:07:04 +0100 |
commit | d33dab14c5d812d30f48d9a5f6324bb230e77203 (patch) | |
tree | 9f56e656e54c68d4a971b7985269f3c1cba1c696 /system/libraries/Form_validation.php | |
parent | eabc5ec81209ec83393222f2964098aedf6dbc7a (diff) | |
parent | 4be5de1d11eefd9f0b7cf0589a2942f067cefe35 (diff) |
Merge upstream
Diffstat (limited to 'system/libraries/Form_validation.php')
-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 |