Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ValidatorUrl Class Reference
Inheritance diagram for ValidatorUrl:
ValidatorUri ValidatorRegExp Validator

Public Member Functions

 ValidatorUrl ()
 
- Public Member Functions inherited from ValidatorUri
 isValid ($value)
 
 ValidatorUri ($allowedSchemes=null)
 
- Public Member Functions inherited from ValidatorRegExp
 getMatches ()
 
 isValid ($value)
 
 ValidatorRegExp ($regExp)
 
- Public Member Functions inherited from Validator
 isValid ($value)
 
 Validator ()
 

Static Public Member Functions

static _getAllowedSchemes ()
 
static getRegexp ()
 
- Static Public Member Functions inherited from ValidatorUri
static getRegexp ($allowedSchemes=null)
 

Additional Inherited Members

- Public Attributes inherited from ValidatorRegExp
 $_matches
 
 $_regExp
 

Detailed Description

Validation check for URLs.

See Also
Validator

Definition at line 19 of file ValidatorUrl.inc.php.

Member Function Documentation

static ValidatorUrl::_getAllowedSchemes ( )
static

Return allowed schemes

Returns
array

Definition at line 45 of file ValidatorUrl.inc.php.

Referenced by getRegexp(), and ValidatorUrl().

static ValidatorUrl::getRegexp ( )
static
See Also
ValidatorUri::getRegexp()
Returns
string

Definition at line 34 of file ValidatorUrl.inc.php.

References _getAllowedSchemes().

Referenced by ValidatorUrlTest\testValidatorUrlAndUri().

ValidatorUrl::ValidatorUrl ( )

Constructor.

Definition at line 23 of file ValidatorUrl.inc.php.

References _getAllowedSchemes().


The documentation for this class was generated from the following file: