HTMLPurifier_URIScheme Klassenreferenz

Klassendiagramm für HTMLPurifier_URIScheme:

Inheritance graph
[Legende]

Öffentliche Methoden

 validate (&$uri, $config, $context)

Datenfelder

 $default_port = null
 $browsable = false
 $hierarchical = false

Ausführliche Beschreibung

Validator for the components of a URI for a specific scheme

Definiert in Zeile 6 der Datei URIScheme.php.


Dokumentation der Elementfunktionen

validate ( &$  uri,
config,
context 
)

Validates the components of a URI

Zu beachten:
This implementation should be called by children if they define a default port, as it does port processing.
Parameter:
$uri Instance of HTMLPurifier_URI
$config HTMLPurifier_Config object
$context HTMLPurifier_Context object
Rückgabe:
Bool success or failure

Erneute Implementation in HTMLPurifier_URIScheme_ftp, HTMLPurifier_URIScheme_http, HTMLPurifier_URIScheme_mailto, HTMLPurifier_URIScheme_news und HTMLPurifier_URIScheme_nntp.

Definiert in Zeile 35 der Datei URIScheme.php.


Dokumentation der Datenelemente

$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.

Erneute Implementation in HTMLPurifier_URIScheme_ftp, HTMLPurifier_URIScheme_http, HTMLPurifier_URIScheme_mailto, HTMLPurifier_URIScheme_news und HTMLPurifier_URIScheme_nntp.

Definiert in Zeile 18 der Datei URIScheme.php.

$default_port = null

Scheme's default port (integer)

Erneute Implementation in HTMLPurifier_URIScheme_ftp, HTMLPurifier_URIScheme_http, HTMLPurifier_URIScheme_https und HTMLPurifier_URIScheme_nntp.

Definiert in Zeile 12 der Datei URIScheme.php.

$hierarchical = false

Whether or not the URI always uses <hier_part>, resolves edge cases with making relative URIs absolute

Erneute Implementation in HTMLPurifier_URIScheme_ftp und HTMLPurifier_URIScheme_http.

Definiert in Zeile 24 der Datei URIScheme.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen