|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for HTMLPurifier_DoctypeRegistry: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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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.
|
protected |
Lookup table of aliases to real doctype names.
@type array
Definition at line 16 of file DoctypeRegistry.php.
Referenced by register().
|
protected |
Hash of doctype names to doctype objects.
@type array
Definition at line 10 of file DoctypeRegistry.php.