+++ /dev/null
-<?php\r
-\r
-/**\r
- * Represents a document type, contains information on which modules\r
- * need to be loaded.\r
- * @note This class is inspected by Printer_HTMLDefinition->renderDoctype.\r
- * If structure changes, please update that function.\r
- */\r
-class HTMLPurifier_Doctype\r
-{\r
- /**\r
- * Full name of doctype\r
- * @type string\r
- */\r
- public $name;\r
-\r
- /**\r
- * List of standard modules (string identifiers or literal objects)\r
- * that this doctype uses\r
- * @type array\r
- */\r
- public $modules = array();\r
-\r
- /**\r
- * List of modules to use for tidying up code\r
- * @type array\r
- */\r
- public $tidyModules = array();\r
-\r
- /**\r
- * Is the language derived from XML (i.e. XHTML)?\r
- * @type bool\r
- */\r
- public $xml = true;\r
-\r
- /**\r
- * List of aliases for this doctype\r
- * @type array\r
- */\r
- public $aliases = array();\r
-\r
- /**\r
- * Public DTD identifier\r
- * @type string\r
- */\r
- public $dtdPublic;\r
-\r
- /**\r
- * System DTD identifier\r
- * @type string\r
- */\r
- public $dtdSystem;\r
-\r
- public function __construct(\r
- $name = null,\r
- $xml = true,\r
- $modules = array(),\r
- $tidyModules = array(),\r
- $aliases = array(),\r
- $dtd_public = null,\r
- $dtd_system = null\r
- ) {\r
- $this->name = $name;\r
- $this->xml = $xml;\r
- $this->modules = $modules;\r
- $this->tidyModules = $tidyModules;\r
- $this->aliases = $aliases;\r
- $this->dtdPublic = $dtd_public;\r
- $this->dtdSystem = $dtd_system;\r
- }\r
-}\r
-\r
-// vim: et sw=4 sts=4\r