ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 @type string. More...
 
 $modules = array()
 List of standard modules (string identifiers or literal objects) that this doctype uses @type array. More...
 
 $tidyModules = array()
 List of modules to use for tidying up code @type array. More...
 
 $xml = true
 Is the language derived from XML (i.e. More...
 
 $aliases = array()
 List of aliases for this doctype @type array. More...
 
 $dtdPublic
 Public DTD identifier @type string. More...
 
 $dtdSystem
 System DTD identifier @type string. More...
 

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

◆ __construct()

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

Definition at line 54 of file Doctype.php.

62 {
63 $this->name = $name;
64 $this->xml = $xml;
65 $this->modules = $modules;
66 $this->tidyModules = $tidyModules;
67 $this->aliases = $aliases;
68 $this->dtdPublic = $dtd_public;
69 $this->dtdSystem = $dtd_system;
70 }
$aliases
List of aliases for this doctype @type array.
Definition: Doctype.php:40
$tidyModules
List of modules to use for tidying up code @type array.
Definition: Doctype.php:28
$name
Full name of doctype @type string.
Definition: Doctype.php:15
$modules
List of standard modules (string identifiers or literal objects) that this doctype uses @type array.
Definition: Doctype.php:22
$xml
Is the language derived from XML (i.e.
Definition: Doctype.php:34

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

Field Documentation

◆ $aliases

HTMLPurifier_Doctype::$aliases = array()

List of aliases for this doctype @type array.

Definition at line 40 of file Doctype.php.

Referenced by __construct().

◆ $dtdPublic

HTMLPurifier_Doctype::$dtdPublic

Public DTD identifier @type string.

Definition at line 46 of file Doctype.php.

◆ $dtdSystem

HTMLPurifier_Doctype::$dtdSystem

System DTD identifier @type string.

Definition at line 52 of file Doctype.php.

◆ $modules

HTMLPurifier_Doctype::$modules = array()

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

Definition at line 22 of file Doctype.php.

Referenced by __construct().

◆ $name

HTMLPurifier_Doctype::$name

Full name of doctype @type string.

Definition at line 15 of file Doctype.php.

Referenced by __construct().

◆ $tidyModules

HTMLPurifier_Doctype::$tidyModules = array()

List of modules to use for tidying up code @type array.

Definition at line 28 of file Doctype.php.

Referenced by __construct().

◆ $xml

HTMLPurifier_Doctype::$xml = true

Is the language derived from XML (i.e.

XHTML)? @type bool

Definition at line 34 of file Doctype.php.

Referenced by __construct().


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