HTMLPurifier_DoctypeRegistry Klassenreferenz


Öffentliche Methoden

 register ($doctype, $xml=true, $modules=array(), $tidy_modules=array(), $aliases=array(), $dtd_public=null, $dtd_system=null)
 get ($doctype)
 make ($config)
 getDoctypeFromConfig ($config)

Geschützte Attribute

 $doctypes
 $aliases

Ausführliche Beschreibung

Definiert in Zeile 3 der Datei DoctypeRegistry.php.


Dokumentation der Elementfunktionen

get ( doctype  ) 

Retrieves reference to a doctype of a certain name

Zu beachten:
This function resolves aliases

When possible, use the more fully-featured make()

Parameter:
$doctype Name of doctype
Rückgabe:
Editable doctype object

Definiert in Zeile 56 der Datei DoctypeRegistry.php.

getDoctypeFromConfig ( config  ) 

Retrieves the doctype from the configuration object

Definiert in Zeile 81 der Datei DoctypeRegistry.php.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

make ( config  ) 

Creates a doctype based on a configuration object, will perform initialization on the doctype

Zu beachten:
Use this function to get a copy of doctype that config can hold on to (this is necessary in order to tell Generator whether or not the current document is XML based or not).

Definiert in Zeile 74 der Datei DoctypeRegistry.php.

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

register ( doctype,
xml = true,
modules = array(),
tidy_modules = array(),
aliases = array(),
dtd_public = null,
dtd_system = null 
)

Registers a doctype to the registry

Zu beachten:
Accepts a fully-formed doctype object, or the parameters for constructing a doctype object
Parameter:
$doctype Name of doctype or literal doctype object
$modules Modules doctype will load
$modules_for_modes Modules doctype will load for certain modes
$aliases Alias names for doctype
Rückgabe:
Editable registered doctype

Definiert in Zeile 26 der Datei DoctypeRegistry.php.


Dokumentation der Datenelemente

$aliases [protected]

Lookup table of aliases to real doctype names

Definiert in Zeile 14 der Datei DoctypeRegistry.php.

$doctypes [protected]

Hash of doctype names to doctype objects

Definiert in Zeile 9 der Datei DoctypeRegistry.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