[ Index ]

PHP Cross Reference of phpBB-3.3.3-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

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

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

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

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

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

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

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



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1