Source for file Doctype.php

Documentation is available at Doctype.php

  1. <?php
  2.  
  3. /**
  4.  * Represents a document type, contains information on which modules
  5.  * need to be loaded.
  6.  * @note This class is inspected by Printer_HTMLDefinition->renderDoctype.
  7.  *        If structure changes, please update that function.
  8.  */
  9. {
  10.     /**
  11.      * Full name of doctype
  12.      */
  13.     public $name;
  14.     
  15.     /**
  16.      * List of standard modules (string identifiers or literal objects)
  17.      * that this doctype uses
  18.      */
  19.     public $modules = array();
  20.     
  21.     /**
  22.      * List of modules to use for tidying up code
  23.      */
  24.     public $tidyModules = array();
  25.     
  26.     /**
  27.      * Is the language derived from XML (i.e. XHTML)?
  28.      */
  29.     public $xml = true;
  30.     
  31.     /**
  32.      * List of aliases for this doctype
  33.      */
  34.     public $aliases = array();
  35.     
  36.     /**
  37.      * Public DTD identifier
  38.      */
  39.     public $dtdPublic;
  40.     
  41.     /**
  42.      * System DTD identifier
  43.      */
  44.     public $dtdSystem;
  45.     
  46.     public function __construct($name null$xml true$modules array(),
  47.         $tidyModules array()$aliases array()$dtd_public null$dtd_system null
  48.     {
  49.         $this->name         = $name;
  50.         $this->xml          = $xml;
  51.         $this->modules      = $modules;
  52.         $this->tidyModules  = $tidyModules;
  53.         $this->aliases      = $aliases;
  54.         $this->dtdPublic    = $dtd_public;
  55.         $this->dtdSystem    = $dtd_system;
  56.     }
  57. }

Documentation generated on Thu, 19 Jun 2008 18:49:04 -0400 by phpDocumentor 1.4.2