[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/ -> UrlConfig.php (summary)

(no description)

File Size: 125 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UrlConfig:: (7 methods):
  __construct()
  asConfig()
  allowScheme()
  disallowHost()
  disallowScheme()
  getAllowedSchemes()
  restrictHost()


Class: UrlConfig  - X-Ref


__construct()   X-Ref
Constructor


asConfig()   X-Ref
{@inheritdoc}


allowScheme($scheme)   X-Ref
Allow a URL scheme

param: string $scheme URL scheme, e.g. "file" or "ed2k"
return: void

disallowHost($host, $matchSubdomains = true)   X-Ref
Disallow a hostname (or hostname mask) from being used in URLs

param: string $host            Hostname or hostmask
param: bool   $matchSubdomains Whether to match subdomains of given host
return: void

disallowScheme($scheme)   X-Ref
Remove a scheme from the list of allowed URL schemes

param: string $scheme URL scheme, e.g. "file" or "ed2k"
return: void

getAllowedSchemes()   X-Ref
Return the list of allowed URL schemes

return: array

restrictHost($host, $matchSubdomains = true)   X-Ref
Allow a hostname (or hostname mask) to being used in URLs while disallowing everything else

Can be called multiple times to restricts URLs to a set of given hostnames

param: string $host            Hostname or hostmask
param: bool   $matchSubdomains Whether to match subdomains of given host
return: void



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1