PHP Classes & Interfaces


Name: DOMDocument

Date: Nov-21-2017
PHP version: 5.3.3
Type: Internal

class DOMDocument extends DOMNode

Public Methods

public createElement ( $tagName, $value )

public createDocumentFragment ( )

public createTextNode ( $data )

public createComment ( $data )

public createCDATASection ( $data )

public createProcessingInstruction ( $target, $data )

public createAttribute ( $name )

public createEntityReference ( $name )

public getElementsByTagName ( $tagName )

public importNode ( DOMNode $importedNode, $deep )

public createElementNS ( $namespaceURI, $qualifiedName, $value )

public createAttributeNS ( $namespaceURI, $qualifiedName )

public getElementsByTagNameNS ( $namespaceURI, $localName )

public getElementById ( $elementId )

public adoptNode ( DOMNode $source )

public normalizeDocument ( )

public renameNode ( DOMNode $node, $namespaceURI, $qualifiedName )

public load ( $source, $options )

public save ( $file )

public loadXML ( $source, $options )

public saveXML ( DOMNode $node )

public __construct ( $version, $encoding )

public validate ( )

public xinclude ( $options )

public loadHTML ( $source )

public loadHTMLFile ( $source )

public saveHTML ( )

public saveHTMLFile ( $file )

public schemaValidate ( $filename )

public schemaValidateSource ( $source )

public relaxNGValidate ( $filename )

public relaxNGValidateSource ( $source )

public registerNodeClass ( $baseClass, $extendedClass )

public insertBefore ( DOMNode $newChild, DOMNode $refChild )

public replaceChild ( DOMNode $newChild, DOMNode $oldChild )

public removeChild ( DOMNode $oldChild )

public appendChild ( DOMNode $newChild )

public hasChildNodes ( )

public cloneNode ( $deep )

public normalize ( )

public isSupported ( $feature, $version )

public hasAttributes ( )

public compareDocumentPosition ( DOMNode $other )

public isSameNode ( DOMNode $other )

public lookupPrefix ( $namespaceURI )

public isDefaultNamespace ( $namespaceURI )

public lookupNamespaceUri ( $prefix )

public isEqualNode ( DOMNode $arg )

public getFeature ( $feature, $version )

public setUserData ( $key, $data, $handler )

public getUserData ( $key )

public getNodePath ( )

public getLineNo ( )

public C14N ( $exclusive, $with_comments, $xpath, $ns_prefixes )

public C14NFile ( $uri, $exclusive, $with_comments, $xpath, $ns_prefixes )