ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
HTMLPurifier_Doctype Class Reference

Represents a document type, contains information on which modules need to be loaded. More...

+ Collaboration diagram for HTMLPurifier_Doctype:

Public Member Functions

 __construct ($name=null, $xml=true, $modules=array(), $tidyModules=array(), $aliases=array(), $dtd_public=null, $dtd_system=null)

Data Fields

 $name
 Full name of doctype.
 $modules = array()
 List of standard modules (string identifiers or literal objects) that this doctype uses.
 $tidyModules = array()
 List of modules to use for tidying up code.
 $xml = true
 Is the language derived from XML (i.e.
 $aliases = array()
 List of aliases for this doctype.
 $dtdPublic
 Public DTD identifier.
 $dtdSystem
 System DTD identifier.

Detailed Description

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.

Definition at line 9 of file Doctype.php.

Constructor & Destructor Documentation

HTMLPurifier_Doctype::__construct (   $name = null,
  $xml = true,
  $modules = array(),
  $tidyModules = array(),
  $aliases = array(),
  $dtd_public = null,
  $dtd_system = null 
)

Definition at line 47 of file Doctype.php.

References $aliases, $modules, $name, $tidyModules, and $xml.

{
$this->name = $name;
$this->xml = $xml;
$this->modules = $modules;
$this->tidyModules = $tidyModules;
$this->aliases = $aliases;
$this->dtdPublic = $dtd_public;
$this->dtdSystem = $dtd_system;
}

Field Documentation

HTMLPurifier_Doctype::$aliases = array()

List of aliases for this doctype.

Definition at line 35 of file Doctype.php.

Referenced by __construct().

HTMLPurifier_Doctype::$dtdPublic

Public DTD identifier.

Definition at line 40 of file Doctype.php.

HTMLPurifier_Doctype::$dtdSystem

System DTD identifier.

Definition at line 45 of file Doctype.php.

HTMLPurifier_Doctype::$modules = array()

List of standard modules (string identifiers or literal objects) that this doctype uses.

Definition at line 20 of file Doctype.php.

Referenced by __construct().

HTMLPurifier_Doctype::$name

Full name of doctype.

Definition at line 14 of file Doctype.php.

Referenced by __construct().

HTMLPurifier_Doctype::$tidyModules = array()

List of modules to use for tidying up code.

Definition at line 25 of file Doctype.php.

Referenced by __construct().

HTMLPurifier_Doctype::$xml = true

Is the language derived from XML (i.e.

XHTML)?

Definition at line 30 of file Doctype.php.

Referenced by __construct().


The documentation for this class was generated from the following file: