Ubiquity 2.5.2
php rapid development framework
|
Validates an URL Usage @validator("url","constraints"=>["relative"=>false,"protocols"=>["http","https"]]) Inspired from Bernhard Schussek Symfony UrlValidator. More...
Public Member Functions | |
__construct () | |
asUI () | |
{{}
| |
Public Member Functions inherited from RegexValidator | |
validate ($value) | |
getParameters () | |
{{}
| |
Public Member Functions inherited from Validator | |
validate_ ($value) | |
setValidationParameters ($member, $params, $severity='warning', $message=null) | |
getMember () | |
setMember ($member) | |
Protected Member Functions | |
setParams (array $params) | |
Protected Member Functions inherited from Validator | |
mergeMessages () | |
_getMessage () | |
Protected Attributes | |
$protocols =["http","https","ftp"] | |
$relative =false | |
Protected Attributes inherited from RegexValidator | |
$ref | |
$match | |
Protected Attributes inherited from ValidatorHasNotNull | |
$notNull | |
Protected Attributes inherited from Validator | |
$modifiedMessage | |
$message | |
$member | |
$value | |
$severity | |
Validates an URL Usage @validator("url","constraints"=>["relative"=>false,"protocols"=>["http","https"]]) Inspired from Bernhard Schussek Symfony UrlValidator.
Definition at line 12 of file UrlValidator.php.
__construct | ( | ) |
Reimplemented from RegexValidator.
Definition at line 17 of file UrlValidator.php.
asUI | ( | ) |
{{}
Reimplemented from RegexValidator.
Definition at line 52 of file UrlValidator.php.
|
protected |
Reimplemented from Validator.
Definition at line 42 of file UrlValidator.php.
|
protected |
Definition at line 14 of file UrlValidator.php.
|
protected |
Definition at line 15 of file UrlValidator.php.