Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ValidatorUri Class Reference
Inheritance diagram for ValidatorUri:
ValidatorRegExp Validator ValidatorUrl

Public Member Functions

 getRegexp ($allowedSchemes=null)
 
 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 ()
 

Detailed Description

Validation check for URIs.

See Also
Validator

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

Member Function Documentation

ValidatorUri::getRegexp (   $allowedSchemes = null)

Return the regex for an URI check. This can be called statically.

Parameters
$allowedSchemes
Returns
string

Definition at line 64 of file ValidatorUri.inc.php.

Referenced by ValidatorUri().

ValidatorUri::isValid (   $value)
See Also
ValidatorRegExp::isValid()
Parameters
$valuemixed
Returns
boolean

Definition at line 36 of file ValidatorUri.inc.php.

References ValidatorRegExp\getMatches().

ValidatorUri::ValidatorUri (   $allowedSchemes = null)

Constructor.

Parameters
$allowedSchemesarray

Definition at line 24 of file ValidatorUri.inc.php.

References getRegexp().


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