The DOMImplementation class
(PHP 5, PHP 7, PHP 8)
Introduction
This class provides a number of methods for performing operations that are independent of any particular instance of the document object model.
Class synopsis
class DOMImplementation
{
/* Methods */
public function createDocument(?string
$namespace = null, string $qualifiedName = "", ?DOMDocumentType $doctype = null): DOMDocumentpublic function createDocumentType(string
}$qualifiedName, string $publicId = "", string $systemId = ""): DOMDocumentType|falseTable of Contents
- DOMImplementation::__construct — Creates a new DOMImplementation object
- DOMImplementation::createDocument — Creates a DOMDocument object of the specified type with its document element
- DOMImplementation::createDocumentType — Creates an empty DOMDocumentType object
- DOMImplementation::hasFeature — Test if the DOM implementation implements a specific feature
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
