DOMWriterInterface
in
Tags
Table of Contents
Methods
- toDocument() : DOMDocument
- Converts the object's data to a document.
- toElement() : DOMElement
- Converts the object's data to an element for an existing document.
Methods
toDocument()
Converts the object's data to a document.
public
toDocument() : DOMDocument
Subsequent calls are expected to return the same document each time.
Return values
DOMDocumenttoElement()
Converts the object's data to an element for an existing document.
public
toElement(DOMDocument $targetDoc) : DOMElement
Subsequent calls are expected to return a new element each time.
Parameters
- $targetDoc : DOMDocument