$default_port
$default_port :
Scheme's default port (integer). If an explicit port number is specified that coincides with the default port, it will be elided.
Validates ftp (File Transfer Protocol) URIs as defined by generic RFC 1738.
doValidate(\HTMLPurifier_URI $uri, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : boolean
Validates the components of a URI for a specific scheme.
| \HTMLPurifier_URI | $uri | Reference to a HTMLPurifier_URI object |
| \HTMLPurifier_Config | $config | |
| \HTMLPurifier_Context | $context |
validate(\HTMLPurifier_URI $uri, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : boolean
Public interface for validating components of a URI. Performs a bunch of default actions. Don't overload this method.
| \HTMLPurifier_URI | $uri | Reference to a HTMLPurifier_URI object |
| \HTMLPurifier_Config | $config | |
| \HTMLPurifier_Context | $context |
success or failure