Lines Matching refs:scheme
16 public $scheme; variable in HTMLPurifier_URI
49 * @param string $scheme
58 public function __construct($scheme, $userinfo, $host, $port, $path, $query, $fragment) argument
60 $this->scheme = is_null($scheme) || ctype_lower($scheme) ? $scheme : strtolower($scheme);
78 if ($this->scheme !== null) {
79 $scheme_obj = $registry->getScheme($this->scheme, $config, $context);
130 if (!is_null($this->scheme) && is_null($this->host) || $this->host === '') {
134 if ($def->defaultScheme === $this->scheme) {
135 $this->scheme = null;
178 } elseif (!is_null($this->scheme)) {
244 if (!is_null($this->scheme)) {
245 $result .= $this->scheme . ':';