summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-10-20 11:36:06 +0200
committerAndrey Andreev <narf@devilix.net>2016-10-20 11:36:06 +0200
commit6513701f21e72fadbbadc4bfea501dd871fa5149 (patch)
tree40a1bef4f5bdfacfa915da79d76903f7f2bdea84 /user_guide_src/source/libraries
parentdc44b922dfda28d72879f6e5d2ef509e8bb51275 (diff)
[ci skip] Document FV set_rules() fourth parameter
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/form_validation.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst
index 5b9a74273..7792369b2 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -1027,11 +1027,12 @@ Class Reference
.. php:class:: CI_Form_validation
- .. php:method:: set_rules($field[, $label = ''[, $rules = '']])
+ .. php:method:: set_rules($field[, $label = ''[, $rules = ''[, $errors = array()]]])
:param string $field: Field name
:param string $label: Field label
:param mixed $rules: Validation rules, as a string list separated by a pipe "|", or as an array or rules
+ :param array $errors: A list of custom error messages
:returns: CI_Form_validation instance (method chaining)
:rtype: CI_Form_validation