mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Reformatting doc blocks.
This commit is contained in:
parent
63ee8f0fcd
commit
47e6f332d7
1 changed files with 16 additions and 13 deletions
|
@ -608,12 +608,14 @@ class Validation extends Object {
|
||||||
/**
|
/**
|
||||||
* Validate a multiple select.
|
* Validate a multiple select.
|
||||||
*
|
*
|
||||||
|
* Valid Options
|
||||||
|
*
|
||||||
|
* - in => provide a list of choices that selections must be made from
|
||||||
|
* - max => maximun number of non-zero choices that can be made
|
||||||
|
* - min => minimum number of non-zero choices that can be made
|
||||||
|
*
|
||||||
* @param mixed $check Value to check
|
* @param mixed $check Value to check
|
||||||
* @param mixed $options Options for the check.
|
* @param mixed $options Options for the check.
|
||||||
* Valid options
|
|
||||||
* in => provide a list of choices that selections must be made from
|
|
||||||
* max => maximun number of non-zero choices that can be made
|
|
||||||
* min => minimum number of non-zero choices that can be made
|
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
|
@ -792,13 +794,14 @@ class Validation extends Object {
|
||||||
* Checks that a value is a valid URL according to http://www.w3.org/Addressing/URL/url-spec.txt
|
* Checks that a value is a valid URL according to http://www.w3.org/Addressing/URL/url-spec.txt
|
||||||
*
|
*
|
||||||
* The regex checks for the following component parts:
|
* The regex checks for the following component parts:
|
||||||
* a valid, optional, scheme
|
*
|
||||||
* a valid ip address OR
|
* - a valid, optional, scheme
|
||||||
|
* - a valid ip address OR
|
||||||
* a valid domain name as defined by section 2.3.1 of http://www.ietf.org/rfc/rfc1035.txt
|
* a valid domain name as defined by section 2.3.1 of http://www.ietf.org/rfc/rfc1035.txt
|
||||||
* with an optional port number
|
* with an optional port number
|
||||||
* an optional valid path
|
* - an optional valid path
|
||||||
* an optional query string (get parameters)
|
* - an optional query string (get parameters)
|
||||||
* an optional fragment (anchor tag)
|
* - an optional fragment (anchor tag)
|
||||||
*
|
*
|
||||||
* @param string $check Value to check
|
* @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)
|
* @param boolean $strict Require URL to be prefixed by a valid scheme (one of http(s)/ftp(s)/file/news/gopher)
|
||||||
|
|
Loading…
Reference in a new issue