Skip to content

Commit 04505c7

Browse files
committed
docs: add about missing fourth parameter
1 parent 71c1848 commit 04505c7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ $this->validateData()
9797
To simplify data checking, the controller also provides the convenience method
9898
``validateData()``.
9999

100-
The method accepts an array of data to validate in the first parameter, and an
101-
array of rules in the second parameter, and in the optional third parameter,
102-
an array of custom error messages to display if the items are not valid.
100+
The method accepts (1) an array of data to validate, (2) an array of rules,
101+
(3) an optional array of custom error messages to display if the items are not valid,
102+
(4) an optional database group to use.
103103

104104
The :doc:`Validation Library docs </libraries/validation>` have details on
105105
rule and message array formats, as well as available rules:

0 commit comments

Comments
 (0)