4 * Represents a document type, contains information on which modules
6 * @note This class is inspected by Printer_HTMLDefinition->renderDoctype.
7 * If structure changes, please update that function.
9 class HTMLPurifier_Doctype
12 * Full name of doctype
18 * List of standard modules (string identifiers or literal objects)
19 * that this doctype uses
22 public $modules = array();
25 * List of modules to use for tidying up code
28 public $tidyModules = array();
31 * Is the language derived from XML (i.e. XHTML)?
37 * List of aliases for this doctype
40 public $aliases = array();
43 * Public DTD identifier
49 * System DTD identifier
54 public function __construct(
58 $tidyModules = array(),
65 $this->modules
= $modules;
66 $this->tidyModules
= $tidyModules;
67 $this->aliases
= $aliases;
68 $this->dtdPublic
= $dtd_public;
69 $this->dtdSystem
= $dtd_system;