ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules 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. More...
 
 $modules = array()
 List of standard modules (string identifiers or literal objects) that this doctype uses. More...
 
 $tidyModules = array()
 List of modules to use for tidying up code. More...
 
 $xml = true
 Is the language derived from XML (i.e. More...
 
 $aliases = array()
 List of aliases for this doctype. More...
 
 $dtdPublic
 Public DTD identifier. More...
 
 $dtdSystem
 System DTD identifier. 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 47 of file Doctype.php.

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

49  {
50  $this->name = $name;
51  $this->xml = $xml;
52  $this->modules = $modules;
53  $this->tidyModules = $tidyModules;
54  $this->aliases = $aliases;
55  $this->dtdPublic = $dtd_public;
56  $this->dtdSystem = $dtd_system;
57  }
$xml
Is the language derived from XML (i.e.
Definition: Doctype.php:30
$aliases
List of aliases for this doctype.
Definition: Doctype.php:35
$modules
List of standard modules (string identifiers or literal objects) that this doctype uses...
Definition: Doctype.php:20
$name
Full name of doctype.
Definition: Doctype.php:14
$tidyModules
List of modules to use for tidying up code.
Definition: Doctype.php:25

Field Documentation

◆ $aliases

HTMLPurifier_Doctype::$aliases = array()

List of aliases for this doctype.

Definition at line 35 of file Doctype.php.

Referenced by __construct().

◆ $dtdPublic

HTMLPurifier_Doctype::$dtdPublic

Public DTD identifier.

Definition at line 40 of file Doctype.php.

◆ $dtdSystem

HTMLPurifier_Doctype::$dtdSystem

System DTD identifier.

Definition at line 45 of file Doctype.php.

◆ $modules

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().

◆ $name

HTMLPurifier_Doctype::$name

Full name of doctype.

Definition at line 14 of file Doctype.php.

Referenced by __construct().

◆ $tidyModules

HTMLPurifier_Doctype::$tidyModules = array()

List of modules to use for tidying up code.

Definition at line 25 of file Doctype.php.

Referenced by __construct().

◆ $xml

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: