diff options
author | Andrey Andreev <narf@devilix.net> | 2014-04-01 15:20:21 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-04-01 15:20:21 +0200 |
commit | a6837cba423964829b31795e44a42418719332f5 (patch) | |
tree | 057d9840fb452bf317d285dd42d71ca071919bcc | |
parent | 46e216c2be69f0819d97f6bead167f28714e9d70 (diff) | |
parent | 0cba9671aab2a9e5e8cfb38d54fa48cb55ec702f (diff) |
Merge pull request #2983 from iBotPeaches/develop
fixes warnings
-rw-r--r-- | user_guide_src/source/libraries/form_validation.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index e51630905..2ae56d29a 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -497,7 +497,7 @@ The above code would use the ``valid_username()`` method from your This is just an example of course, and callbacks aren't limited to models. You can use any object/method that accepts the field value as its' first parameter. Or if you're running PHP 5.3+, you can also use an anonymous -function: +function:: $this->form_validation->set_rules( 'username', 'Username', |