Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating doc block for Valdation::url optional parameter. Fixes #6220.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8126 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
commit 14aaa1682f694a0d41ab980b7d83b4df25eb0bba 1 parent 4439bc4
@jperras jperras authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  cake/libs/validation.php
View
3  cake/libs/validation.php
@@ -798,6 +798,7 @@ function ssn($check, $regex = null, $country = null) {
* an optional fragment (anchor tag)
*
* @param string $check Value to check
+ * @param boolean $strict Require URL to be prefixed by a valid scheme (one of http(s)/ftp(s)/file/news/gopher)
* @return boolean Success
* @access public
*/
@@ -925,4 +926,4 @@ function __reset() {
$this->errors = array();
}
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.