[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Parser/AttributeFilters/ -> UrlFilter.php (summary)

(no description)

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

Defines 1 class

UrlFilter:: (5 methods):
  filter()
  parseUrl()
  rebuildUrl()
  sanitizeUrl()
  validateUrl()


Class: UrlFilter  - X-Ref


filter($attrValue, array $urlConfig, Logger $logger = null)   X-Ref
Filter a URL

param: mixed  $attrValue Original URL
param: array  $urlConfig URL config
param: Logger $logger    Parser's logger
return: mixed             Cleaned up URL if valid, FALSE otherwise

parseUrl($url)   X-Ref
Parse a URL and return its components

Similar to PHP's own parse_url() except that all parts are always returned

param: string $url Original URL
return: array

rebuildUrl(array $p)   X-Ref
Rebuild a parsed URL

param: array  $p Parsed URL
return: string

sanitizeUrl($url)   X-Ref
No description

validateUrl(array $urlConfig, array $p)   X-Ref
No description



Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1