The DOMImplementation class
Introduction
(PHP 5, PHP 7)
The DOMImplementation class provides a number of methods for performing operations that are independent of any particular instance of the document object model.
Class synopsis
DOMImplementation {
/* Properties */
/* Methods */
__construct ( )
public createDocument ([ string $namespaceURI = null [, string $qualifiedName = null [, DOMDocumentType $doctype = null ]]] ) : DOMDocument
public createDocumentType ([ string $qualifiedName = null [, string $publicId = null [, string $systemId = null ]]] ) : DOMDocumentType
public hasFeature ( string $feature , string $version ) : bool}
Table 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
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.domimplementation.php