diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-02 10:54:50 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-02 10:54:50 +0100 |
commit | f46c9047856534fce6f89ddc7ee7216da28d4fda (patch) | |
tree | 4e64d60927bf83d4d779245a2fb8767b6ef86a5e /user_guide_src/source/libraries/form_validation.rst | |
parent | 963386ba6072d240840b58d6dbe54287edcb04ad (diff) | |
parent | 676a0dd74409e7e838b94484ef9ba066dcf6db91 (diff) |
Merge pull request #1103 from IT-Can/error-array-565
updated version of pull request #565
Diffstat (limited to 'user_guide_src/source/libraries/form_validation.rst')
-rw-r--r-- | user_guide_src/source/libraries/form_validation.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index e7875bc22..09a192bb0 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -930,6 +930,15 @@ $this->form_validation->set_message(); Permits you to set custom error messages. See :ref:`setting-error-messages` +$this->form_validation->error_array(); +======================================== + + .. php:method:: error_array () + + :rtype: Array + + Returns the error messages as an array. + .. _helper-functions: **************** |