HumHub Documentation (unofficial)

HTMLPurifier_Doctype
in package

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

Tags
note

This class is inspected by Printer_HTMLDefinition->renderDoctype. If structure changes, please update that function.

Table of Contents

Properties

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

Methods

__construct()  : mixed

Properties

$aliases

List of aliases for this doctype

public mixed $aliases = array()
Tags
type

array

$dtdPublic

Public DTD identifier

public mixed $dtdPublic
Tags
type

string

$dtdSystem

System DTD identifier

public mixed $dtdSystem
Tags
type

string

$modules

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

public mixed $modules = array()
Tags
type

array

$name

Full name of doctype

public mixed $name
Tags
type

string

$tidyModules

List of modules to use for tidying up code

public mixed $tidyModules = array()
Tags
type

array

$xml

Is the language derived from XML (i.e. XHTML)?

public mixed $xml = \true
Tags
type

bool

Methods

__construct()

public __construct([mixed $name = null ][, mixed $xml = true ][, mixed $modules = array() ][, mixed $tidyModules = array() ][, mixed $aliases = array() ][, mixed $dtd_public = null ][, mixed $dtd_system = null ]) : mixed
Parameters
$name : mixed = null
$xml : mixed = true
$modules : mixed = array()
$tidyModules : mixed = array()
$aliases : mixed = array()
$dtd_public : mixed = null
$dtd_system : mixed = null
Loading…
On this page

Search results