HTMLPurifier 4.4.0
|
Implements data: URI for base64 encoded images supported by GD. More...
Public Member Functions | |
doValidate (&$uri, $config, $context) | |
Validates the components of a URI for a specific scheme. | |
muteErrorHandler ($errno, $errstr) | |
doValidate (&$uri, $config, $context) | |
Validates the components of a URI for a specific scheme. | |
muteErrorHandler ($errno, $errstr) | |
Public Attributes | |
$browsable = true | |
Whether or not URIs of this schem are locatable by a browser http and ftp are accessible, while mailto and news are not. | |
$allowed_types | |
$may_omit_host = true | |
Whether or not the URI may omit a hostname when the scheme is explicitly specified, ala file:///path/to/file. |
Implements data: URI for base64 encoded images supported by GD.
HTMLPurifier_URIScheme_data::doValidate | ( | &$ | uri, |
$ | config, | ||
$ | context | ||
) |
Validates the components of a URI for a specific scheme.
$uri | Reference to a HTMLPurifier_URI object |
$config | HTMLPurifier_Config object |
$context | HTMLPurifier_Context object |
Reimplemented from HTMLPurifier_URIScheme.
Definition at line 20 of file data.php.
References $data.
HTMLPurifier_URIScheme_data::doValidate | ( | &$ | uri, |
$ | config, | ||
$ | context | ||
) |
Validates the components of a URI for a specific scheme.
$uri | Reference to a HTMLPurifier_URI object |
$config | HTMLPurifier_Config object |
$context | HTMLPurifier_Context object |
Reimplemented from HTMLPurifier_URIScheme.
Definition at line 17143 of file HTMLPurifier.standalone.php.
References $data.
HTMLPurifier_URIScheme_data::muteErrorHandler | ( | $ | errno, |
$ | errstr | ||
) |
Definition at line 17216 of file HTMLPurifier.standalone.php.
HTMLPurifier_URIScheme_data::muteErrorHandler | ( | $ | errno, |
$ | errstr | ||
) |
HTMLPurifier_URIScheme_data::$allowed_types |
HTMLPurifier_URIScheme_data::$browsable = true |
Whether or not URIs of this schem are locatable by a browser http and ftp are accessible, while mailto and news are not.
Reimplemented from HTMLPurifier_URIScheme.
HTMLPurifier_URIScheme_data::$may_omit_host = true |
Whether or not the URI may omit a hostname when the scheme is explicitly specified, ala file:///path/to/file.
As of writing, 'file' is the only scheme that browsers support his properly.
Reimplemented from HTMLPurifier_URIScheme.