ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
register ( $doctype, $xml=true, $modules=array(), $tidy_modules=array(), $aliases=array(), $dtd_public=null, $dtd_system=null) | |
Registers a doctype to the registry. More... | |
get ($doctype) | |
Retrieves reference to a doctype of a certain name. More... | |
make ($config) | |
Creates a doctype based on a configuration object, will perform initialization on the doctype. More... | |
getDoctypeFromConfig ($config) | |
Retrieves the doctype from the configuration object. More... | |
Protected Attributes | |
$doctypes | |
Hash of doctype names to doctype objects. More... | |
$aliases | |
Lookup table of aliases to real doctype names. More... | |
Definition at line 3 of file DoctypeRegistry.php.
HTMLPurifier_DoctypeRegistry::get | ( | $doctype | ) |
Retrieves reference to a doctype of a certain name.
string | $doctype | Name of doctype |
Definition at line 83 of file DoctypeRegistry.php.
HTMLPurifier_DoctypeRegistry::getDoctypeFromConfig | ( | $config | ) |
Retrieves the doctype from the configuration object.
HTMLPurifier_Config | $config |
Definition at line 116 of file DoctypeRegistry.php.
References $config.
Referenced by make().
HTMLPurifier_DoctypeRegistry::make | ( | $config | ) |
Creates a doctype based on a configuration object, will perform initialization on the doctype.
HTMLPurifier_Config | $config |
Definition at line 106 of file DoctypeRegistry.php.
References $config, and getDoctypeFromConfig().
HTMLPurifier_DoctypeRegistry::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 |
Definition at line 31 of file DoctypeRegistry.php.
References $aliases, $name, and array.
|
protected |
Lookup table of aliases to real doctype names.
array
Definition at line 16 of file DoctypeRegistry.php.
Referenced by register().
|
protected |