diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-02 12:47:16 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-02 12:47:16 +0100 |
commit | c8b3ac4fa57fed397b6d1085f8ff99c25c7a9221 (patch) | |
tree | 32687bedd72fc8ff664aa16b59d714867bba5141 /system/libraries/Form_validation.php | |
parent | f4ec1f21d5d53ce7c2a1076ca8fd3ab2e6223a6e (diff) | |
parent | 8f22057724dd8fe2b9d41ba98bfc4da282572c5e (diff) |
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-sqlite
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 |