HTMLPurifier_Doctype
Represents a document type, contains information on which modules need to be loaded.
- Full name:
\HTMLPurifier_Doctype
Properties
name
Full name of doctype
modules
List of standard modules (string identifiers or literal objects) that this doctype uses
tidyModules
List of modules to use for tidying up code
xml
Is the language derived from XML (i.e. XHTML)?
aliases
List of aliases for this doctype
dtdPublic
Public DTD identifier
dtdSystem
System DTD identifier
Methods
__construct
public __construct(mixed $name = null, mixed $xml = true, mixed $modules = array(), mixed $tidyModules = array(), mixed $aliases = array(), mixed $dtd_public = null, mixed $dtd_system = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
mixed | |
$xml |
mixed | |
$modules |
mixed | |
$tidyModules |
mixed | |
$aliases |
mixed | |
$dtd_public |
mixed | |
$dtd_system |
mixed |
Automatically generated on 2025-03-18