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

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

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  }
$xml
Is the language derived from XML (i.e.
Definition: Doctype.php:34
$aliases
List of aliases for this doctype array.
Definition: Doctype.php:40
$modules
List of standard modules (string identifiers or literal objects) that this doctype uses array...
Definition: Doctype.php:22
$name
Full name of doctype string.
Definition: Doctype.php:15
$tidyModules
List of modules to use for tidying up code array.
Definition: Doctype.php:28

Field Documentation

◆ $aliases

HTMLPurifier_Doctype::$aliases = array()

List of aliases for this doctype array.

Definition at line 40 of file Doctype.php.

Referenced by __construct().

◆ $dtdPublic

HTMLPurifier_Doctype::$dtdPublic

Public DTD identifier string.

Definition at line 46 of file Doctype.php.

◆ $dtdSystem

HTMLPurifier_Doctype::$dtdSystem

System DTD identifier 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 array.

Definition at line 22 of file Doctype.php.

Referenced by __construct().

◆ $name

HTMLPurifier_Doctype::$name

Full name of doctype 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 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)? bool

Definition at line 34 of file Doctype.php.

Referenced by __construct().


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