Ö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 | |
Definiert in Zeile 3 der Datei DoctypeRegistry.php.
get | ( | $doctype) |
Retrieves reference to a doctype of a certain name
string | $doctype | Name of doctype |
Definiert in Zeile 83 der Datei DoctypeRegistry.php.
getDoctypeFromConfig | ( | $config) |
Retrieves the doctype from the configuration object
HTMLPurifier_Config | $config |
Definiert in Zeile 116 der Datei DoctypeRegistry.php.
Wird benutzt von make().
make | ( | $config) |
Creates a doctype based on a configuration object, will perform initialization on the doctype
HTMLPurifier_Config | $config |
Definiert in Zeile 106 der Datei DoctypeRegistry.php.
Benutzt getDoctypeFromConfig().
register | ( | $doctype, | |
$xml = true , |
|||
$modules = array() , |
|||
$tidy_modules = array() , |
|||
$aliases = array() , |
|||
$dtd_public = null , |
|||
$dtd_system = null |
|||
) |
Registers a doctype to the registry
string | $doctype | Name of doctype or literal doctype object |
bool | $xml | |
array | $modules | Modules doctype will load |
array | $tidy_modules | Modules doctype will load for certain modes |
array | $aliases | Alias names for doctype |
string | $dtd_public | |
string | $dtd_system |
Definiert in Zeile 31 der Datei DoctypeRegistry.php.
Benutzt $aliases.
|
protected |
Lookup table of aliases to real doctype names. array
Definiert in Zeile 16 der Datei DoctypeRegistry.php.
Wird benutzt von register().
|
protected |
Hash of doctype names to doctype objects. array
Definiert in Zeile 10 der Datei DoctypeRegistry.php.