Represents a document type, contains information on which modules need to be loaded.
Methods | ||
---|---|---|
public
|
__construct(
$name = null,
$xml = true,
$modules = [],
$tidyModules = [],
$aliases = [],
$dtd_public = null,
$dtd_system = null,
)
|
# |
Properties | |||
---|---|---|---|
public
|
|
$name
Full name of doctype
Full name of doctype |
# |
public
|
|
$modules = []
List of standard modules (string identifiers or literal objects)
that this doctype uses
List of standard modules (string identifiers or literal objects) that this doctype uses |
# |
public
|
|
$tidyModules = []
List of modules to use for tidying up code
List of modules to use for tidying up code |
# |
public
|
|
$xml = true
Is the language derived from XML (i.e. XHTML)?
Is the language derived from XML (i.e. XHTML)? |
# |
public
|
|
$aliases = []
List of aliases for this doctype
List of aliases for this doctype |
# |
public
|
|
$dtdPublic
Public DTD identifier
Public DTD identifier |
# |
public
|
|
$dtdSystem
System DTD identifier
System DTD identifier |
# |