ILIAS
Release_4_0_x_branch Revision 61816
|
Validator for the components of a URI for a specific scheme. More...
Public Member Functions | |
validate (&$uri, $config, $context) | |
Validates the components of a URI. |
Data Fields | |
$default_port = null | |
Scheme's default port (integer) | |
$browsable = false | |
Whether or not URIs of this schem are locatable by a browser http and ftp are accessible, while mailto and news are not. | |
$hierarchical = false | |
Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute. |
Validator for the components of a URI for a specific scheme.
Definition at line 6 of file URIScheme.php.
HTMLPurifier_URIScheme::validate | ( | & | $uri, |
$config, | |||
$context | |||
) |
Validates the components of a URI.
$uri | Instance of HTMLPurifier_URI |
$config | HTMLPurifier_Config object |
$context | HTMLPurifier_Context object |
Reimplemented in HTMLPurifier_URIScheme_mailto, HTMLPurifier_URIScheme_ftp, HTMLPurifier_URIScheme_http, HTMLPurifier_URIScheme_nntp, and HTMLPurifier_URIScheme_news.
Definition at line 35 of file URIScheme.php.
HTMLPurifier_URIScheme::$browsable = false |
Whether or not URIs of this schem are locatable by a browser http and ftp are accessible, while mailto and news are not.
Definition at line 18 of file URIScheme.php.
HTMLPurifier_URIScheme::$default_port = null |
Scheme's default port (integer)
Definition at line 12 of file URIScheme.php.
HTMLPurifier_URIScheme::$hierarchical = false |
Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute.
Definition at line 24 of file URIScheme.php.