Class UriValidator
Validates if a string is a valid URI.
- Flikore\Validator\Validator implements Flikore\Validator\Interfaces\IValidator
- Flikore\Validator\Validators\UriValidator
Namespace: Flikore\Validator\Validators
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.3
CustomKey: %protocol% The valid(s) protocol(s) set in the constructor.
Located at Flikore/Validator/Validators/UriValidator.php
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.3
CustomKey: %protocol% The valid(s) protocol(s) set in the constructor.
Located at Flikore/Validator/Validators/UriValidator.php
Methods summary
public
|
|
protected
boolean
|
Methods inherited from Flikore\Validator\Validator
addKeyValue()
,
applyTemplate()
,
assert()
,
getErrorMessage()
,
isEmpty()
,
setErrorMessage()
,
validate()
Magic methods summary
Properties summary
protected
string
|
$message |
#
The error message for this validator. |
protected
string
|
$message_protocol |
#
An alternative error message for this validator for when the protocol is set. |
protected
mixed
|
$protocol |
#
The valid(s) protocol(s). |