From b94b89c69195a0708add8dedb1721f12bcafbf8c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 28 Apr 2008 23:18:00 +0000 Subject: Added a valid_emails rule to the Validation class. --- user_guide/changelog.html | 1 + user_guide/libraries/validation.html | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 767dd2a48..ef1b7ace7 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -83,6 +83,7 @@ SVN Commit: not currently released

  • The MySQLi forge class is now in sync with MySQL forge.
  • Added the ability to set CRLF settings via config in the Email class.
  • Unit Testing results are now colour coded, and a change was made to the default template of results.
  • +
  • Added a valid_emails rule to the Validation class.
  • Helpers diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html index 815b542be..e539fbfa8 100644 --- a/user_guide/libraries/validation.html +++ b/user_guide/libraries/validation.html @@ -18,7 +18,6 @@ - @@ -596,6 +595,12 @@ For example, your "username" error will be available at:
    $this->valida Returns FALSE if the form element does not contain a valid email address.   + + valid_emails + No + Returns FALSE if any value provided in a comma separated list is not a valid email. +   + valid_ip No -- cgit v1.2.3-24-g4f1b