diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-29 01:18:00 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-29 01:18:00 +0200 |
commit | b94b89c69195a0708add8dedb1721f12bcafbf8c (patch) | |
tree | bb431084a58830ffcc8dd6216bea8eb2c8372e13 /user_guide | |
parent | 05f830c7105ef3cd4a8388bffe7cf73c35236105 (diff) |
Added a valid_emails rule to the Validation class.
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/changelog.html | 1 | ||||
-rw-r--r-- | user_guide/libraries/validation.html | 7 |
2 files changed, 7 insertions, 1 deletions
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</p> <li>The MySQLi forge class is now in sync with MySQL forge. </li>
<li>Added the ability to set CRLF settings via config in the <a href="libraries/email.html">Email</a> class.</li>
<li><a href="libraries/unit_testing.html">Unit Testing</a> results are now colour coded, and a change was made to the default template of results.</li>
+ <li>Added a valid_emails rule to the <a href="libraries/validation.html">Validation</a> class.</li>
</ul>
</li>
<li>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 @@ <meta name='robots' content='all' />
<meta name='author' content='ExpressionEngine Dev Team' />
<meta name='description' content='CodeIgniter User Guide' />
-
</head>
<body>
@@ -597,6 +596,12 @@ For example, your "username" error will be available at:<br /><dfn>$this->valida <td class="td"> </td>
</tr>
<tr>
+ <td class="td"><strong>valid_emails</strong></td>
+ <td class="td">No</td>
+ <td class="td">Returns FALSE if any value provided in a comma separated list is not a valid email.</td>
+ <td class="td"> </td>
+</tr>
+<tr>
<td class="td"><strong>valid_ip</strong></td>
<td class="td">No</td>
<td class="td">Returns FALSE if the supplied IP is not valid.</td>
|