The Dom\DocumentType class
(PHP 8 >= 8.4.0)
Introduction
Each Dom\Document has a doctype attribute whose value is either null or a Dom\DocumentType object.
This is the modern, spec-compliant equivalent of DOMImplementation.
Class synopsis
/* Inherited constants */
/* Properties */
/* Inherited properties */
/* Methods */
/* Not documented yet */
/* Inherited methods */
/* Not documented yet */
}Properties
- publicId
The public identifier of the external subset.
- systemId
The system identifier of the external subset. This may be an absolute URI or not.
- name
The name of DTD; i.e., the name immediately following the
DOCTYPEkeyword.- entities
- A Dom\DtdNamedNodeMap containing the general entities, both external and internal, declared in the DTD.
- notations
- A Dom\DtdNamedNodeMap containing the notations declared in the DTD.
- internalSubset
The internal subset as a string, or
nullif there is none. This does not contain the delimiting square brackets.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open