PHP Classes
elePHPant
Icontem

File: tests/runnable/HTMLPurifier/HTMLPurifier/Doctype.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of jstar88  >  OPBE  >  tests/runnable/HTMLPurifier/HTMLPurifier/Doctype.php  >  Download  
File: tests/runnable/HTMLPurifier/HTMLPurifier/Doctype.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: OPBE
Ogame probabilistic battle engine
Author: By
Last change:
Date: 1 year ago
Size: 1,398 bytes
 

Contents

Class file image Download
<?php

/**
 * Represents a document type, contains information on which modules
 * need to be loaded.
 * @note This class is inspected by Printer_HTMLDefinition->renderDoctype.
 * If structure changes, please update that function.
 */
class HTMLPurifier_Doctype
{
   
/**
     * Full name of doctype
     */
   
public $name;

   
/**
     * List of standard modules (string identifiers or literal objects)
     * that this doctype uses
     */
   
public $modules = array();

   
/**
     * List of modules to use for tidying up code
     */
   
public $tidyModules = array();

   
/**
     * Is the language derived from XML (i.e. XHTML)?
     */
   
public $xml = true;

   
/**
     * List of aliases for this doctype
     */
   
public $aliases = array();

   
/**
     * Public DTD identifier
     */
   
public $dtdPublic;

   
/**
     * System DTD identifier
     */
   
public $dtdSystem;

    public function
__construct($name = null, $xml = true, $modules = array(),
       
$tidyModules = array(), $aliases = array(), $dtd_public = null, $dtd_system = null
   
) {
       
$this->name = $name;
       
$this->xml = $xml;
       
$this->modules = $modules;
       
$this->tidyModules = $tidyModules;
       
$this->aliases = $aliases;
       
$this->dtdPublic = $dtd_public;
       
$this->dtdSystem = $dtd_system;
    }
}

// vim: et sw=4 sts=4