/**
  * Constructor.
  * @param $allowedSchemes array
  */
 function ValidatorUri($allowedSchemes = null)
 {
     parent::ValidatorRegExp(ValidatorUri::getRegexp($allowedSchemes));
 }
Beispiel #2
0
 /**
  * @see ValidatorUri::getRegexp()
  * @return string
  */
 static function getRegexp()
 {
     return parent::getRegexp(ValidatorUrl::_getAllowedSchemes());
 }
 /**
  * Constructor.
  * @param $allowedSchemes array
  */
 function __construct($allowedSchemes = null)
 {
     parent::__construct(ValidatorUri::getRegexp($allowedSchemes));
 }