$doctypes
$doctypes :
Hash of doctype names to doctype objects.
register(string $doctype, boolean $xml = true, array $modules = array(), array $tidy_modules = array(), array $aliases = array(), string $dtd_public = null, string $dtd_system = null) : \HTMLPurifier_Doctype
Registers a doctype to the registry
| string | $doctype | Name of doctype or literal doctype object |
| boolean | $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 |
Editable registered doctype
get(string $doctype) : \HTMLPurifier_Doctype
Retrieves reference to a doctype of a certain name
| string | $doctype | Name of doctype |
Editable doctype object
make(\HTMLPurifier_Config $config) : \HTMLPurifier_Doctype
Creates a doctype based on a configuration object, will perform initialization on the doctype
| \HTMLPurifier_Config | $config |
getDoctypeFromConfig(\HTMLPurifier_Config $config) : string
Retrieves the doctype from the configuration object
| \HTMLPurifier_Config | $config |