* The feature to test. *

* @param version string

* The version number of the feature to test. In * level 2, this can be either 2.0 or * 1.0. *

* @return bool Returns true on success, false on failure. */ public function hasFeature ($feature, $version) {} /** * Creates an empty DOMDocumentType object * @link http://www.php.net/manual/en/domimplementation.createdocumenttype.php * @param qualifiedName string[optional]

* The qualified name of the document type to create. *

* @param publicId string[optional]

* The external subset public identifier. *

* @param systemId string[optional]

* The external subset system identifier. *

* @return DOMDocumentType A new DOMDocumentType node with its * ownerDocument set to &null;. */ public function createDocumentType ($qualifiedName = null, $publicId = null, $systemId = null) {} /** * Creates a DOMDocument object of the specified type with its document element * @link http://www.php.net/manual/en/domimplementation.createdocument.php * @param namespaceURI string[optional]

* The namespace URI of the document element to create. *

* @param qualifiedName string[optional]

* The qualified name of the document element to create. *

* @param doctype DOMDocumentType[optional]

* The type of document to create or &null;. *

* @return DOMDocument A new DOMDocument object. If * namespaceURI, qualifiedName, * and doctype are null, the returned * DOMDocument is empty with no document element */ public function createDocument ($namespaceURI = null, $qualifiedName = null, DOMDocumentType $doctype = null) {} } class DOMNode { /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMNameSpaceNode { } class DOMDocumentFragment extends DOMNode { public function __construct () {} /** * Append raw XML data * @link http://www.php.net/manual/en/domdocumentfragment.appendxml.php * @param data string

* XML to append. *

* @return bool Returns true on success, false on failure. */ public function appendXML ($data) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMDocument extends DOMNode { /** * Create new element node * @link http://www.php.net/manual/en/domdocument.createelement.php * @param name string

* The tag name of the element. *

* @param value string[optional]

* The value of the element. By default, an empty element will be created. * The value can also be set later with DOMElement::$nodeValue. *

* @return DOMElement a new instance of class DOMElement or false * if an error occurred. */ public function createElement ($name, $value = null) {} /** * Create new document fragment * @link http://www.php.net/manual/en/domdocument.createdocumentfragment.php * @return DOMDocumentFragment The new DOMDocumentFragment or false if an error occurred. */ public function createDocumentFragment () {} /** * Create new text node * @link http://www.php.net/manual/en/domdocument.createtextnode.php * @param content string

* The content of the text. *

* @return DOMText The new DOMText or false if an error occurred. */ public function createTextNode ($content) {} /** * Create new comment node * @link http://www.php.net/manual/en/domdocument.createcomment.php * @param data string

* The content of the comment. *

* @return DOMComment The new DOMComment or false if an error occurred. */ public function createComment ($data) {} /** * Create new cdata node * @link http://www.php.net/manual/en/domdocument.createcdatasection.php * @param data string

* The content of the cdata. *

* @return DOMCDATASection The new DOMCDATASection or false if an error occurred. */ public function createCDATASection ($data) {} /** * Creates new PI node * @link http://www.php.net/manual/en/domdocument.createprocessinginstruction.php * @param target string

* The target of the processing instruction. *

* @param data string[optional]

* The content of the processing instruction. *

* @return DOMProcessingInstruction The new DOMProcessingInstruction or false if an error occurred. */ public function createProcessingInstruction ($target, $data = null) {} /** * Create new attribute * @link http://www.php.net/manual/en/domdocument.createattribute.php * @param name string

* The name of the attribute. *

* @return DOMAttr The new DOMAttr or false if an error occurred. */ public function createAttribute ($name) {} /** * Create new entity reference node * @link http://www.php.net/manual/en/domdocument.createentityreference.php * @param name string

* The content of the entity reference, e.g. the entity reference minus * the leading & and the trailing * ; characters. *

* @return DOMEntityReference The new DOMEntityReference or false if an error * occurred. */ public function createEntityReference ($name) {} /** * Searches for all elements with given local tag name * @link http://www.php.net/manual/en/domdocument.getelementsbytagname.php * @param name string

* The local name (without namespace) of the tag to match on. The special value * * matches all tags. *

* @return DOMNodeList A new DOMNodeList object containing all the matched * elements. */ public function getElementsByTagName ($name) {} /** * Import node into current document * @link http://www.php.net/manual/en/domdocument.importnode.php * @param importedNode DOMNode

* The node to import. *

* @param deep bool[optional]

* If set to true, this method will recursively import the subtree under * the importedNode. *

* *

* To copy the nodes attributes deep needs to be set to true *

* @return DOMNode The copied node or false, if it cannot be copied. */ public function importNode (DOMNode $importedNode, $deep = null) {} /** * Create new element node with an associated namespace * @link http://www.php.net/manual/en/domdocument.createelementns.php * @param namespaceURI string

* The URI of the namespace. *

* @param qualifiedName string

* The qualified name of the element, as prefix:tagname. *

* @param value string[optional]

* The value of the element. By default, an empty element will be created. * You can also set the value later with DOMElement::$nodeValue. *

* @return DOMElement The new DOMElement or false if an error occurred. */ public function createElementNS ($namespaceURI, $qualifiedName, $value = null) {} /** * Create new attribute node with an associated namespace * @link http://www.php.net/manual/en/domdocument.createattributens.php * @param namespaceURI string

* The URI of the namespace. *

* @param qualifiedName string

* The tag name and prefix of the attribute, as prefix:tagname. *

* @return DOMAttr The new DOMAttr or false if an error occurred. */ public function createAttributeNS ($namespaceURI, $qualifiedName) {} /** * Searches for all elements with given tag name in specified namespace * @link http://www.php.net/manual/en/domdocument.getelementsbytagnamens.php * @param namespaceURI string

* The namespace URI of the elements to match on. * The special value * matches all namespaces. *

* @param localName string

* The local name of the elements to match on. * The special value * matches all local names. *

* @return DOMNodeList A new DOMNodeList object containing all the matched * elements. */ public function getElementsByTagNameNS ($namespaceURI, $localName) {} /** * Searches for an element with a certain id * @link http://www.php.net/manual/en/domdocument.getelementbyid.php * @param elementId string

* The unique id value for an element. *

* @return DOMElement the DOMElement or &null; if the element is * not found. */ public function getElementById ($elementId) {} /** * @param source DOMNode */ public function adoptNode (DOMNode $source) {} /** * Normalizes the document * @link http://www.php.net/manual/en/domdocument.normalizedocument.php * @return void */ public function normalizeDocument () {} /** * @param node DOMNode * @param namespaceURI * @param qualifiedName */ public function renameNode (DOMNode $node, $namespaceURI, $qualifiedName) {} /** * Load XML from a file * @link http://www.php.net/manual/en/domdocument.load.php * @param filename string

* The path to the XML document. *

* @param options int[optional]

* Bitwise OR * of the libxml option constants. *

* @return mixed Returns true on success, false on failure. If called statically, returns a * DOMDocument&return.falseforfailure;. */ public function load ($filename, $options = null) {} /** * Dumps the internal XML tree back into a file * @link http://www.php.net/manual/en/domdocument.save.php * @param filename string

* The path to the saved XML document. *

* @param options int[optional]

* Additional Options. Currently only LIBXML_NOEMPTYTAG is supported. *

* @return int the number of bytes written or false if an error occurred. */ public function save ($filename, $options = null) {} /** * Load XML from a string * @link http://www.php.net/manual/en/domdocument.loadxml.php * @param source string

* The string containing the XML. *

* @param options int[optional]

* Bitwise OR * of the libxml option constants. *

* @return mixed Returns true on success, false on failure. If called statically, returns a * DOMDocument&return.falseforfailure;. */ public function loadXML ($source, $options = null) {} /** * Dumps the internal XML tree back into a string * @link http://www.php.net/manual/en/domdocument.savexml.php * @param node DOMNode[optional]

* Use this parameter to output only a specific node without XML declaration * rather than the entire document. *

* @param options int[optional]

* Additional Options. Currently only LIBXML_NOEMPTYTAG is supported. *

* @return string the XML, or false if an error occurred. */ public function saveXML (DOMNode $node = null, $options = null) {} /** * Creates a new DOMDocument object * @link http://www.php.net/manual/en/domdocument.construct.php * @param version[optional] * @param encoding[optional] */ public function __construct ($version, $encoding) {} /** * Validates the document based on its DTD * @link http://www.php.net/manual/en/domdocument.validate.php * @return bool Returns true on success, false on failure. * If the document have no DTD attached, this method will return false. */ public function validate () {} /** * Substitutes XIncludes in a DOMDocument Object * @link http://www.php.net/manual/en/domdocument.xinclude.php * @param options int[optional]

* libxml parameters. Available * since PHP 5.1.0 and Libxml 2.6.7. *

* @return int the number of XIncludes in the document, -1 if some processing failed, * or false if there were no substitutions. */ public function xinclude ($options = null) {} /** * Load HTML from a string * @link http://www.php.net/manual/en/domdocument.loadhtml.php * @param source string

* The HTML string. *

* @param options int[optional]

* Since PHP 5.4.0 and Libxml 2.6.0, you may also use the * options parameter to specify additional Libxml parameters. *

* @return bool Returns true on success, false on failure. If called statically, returns a * DOMDocument&return.falseforfailure;. */ public function loadHTML ($source, $options = null) {} /** * Load HTML from a file * @link http://www.php.net/manual/en/domdocument.loadhtmlfile.php * @param filename string

* The path to the HTML file. *

* @param options int[optional]

* Since PHP 5.4.0 and Libxml 2.6.0, you may also use the * options parameter to specify additional Libxml parameters. *

* @return bool Returns true on success, false on failure. If called statically, returns a * DOMDocument&return.falseforfailure;. */ public function loadHTMLFile ($filename, $options = null) {} /** * Dumps the internal document into a string using HTML formatting * @link http://www.php.net/manual/en/domdocument.savehtml.php * @param node DOMNode[optional]

* Optional parameter to output a subset of the document. *

* @return string the HTML, or false if an error occurred. */ public function saveHTML (DOMNode $node = null) {} /** * Dumps the internal document into a file using HTML formatting * @link http://www.php.net/manual/en/domdocument.savehtmlfile.php * @param filename string

* The path to the saved HTML document. *

* @return int the number of bytes written or false if an error occurred. */ public function saveHTMLFile ($filename) {} /** * Validates a document based on a schema * @link http://www.php.net/manual/en/domdocument.schemavalidate.php * @param filename string

* The path to the schema. *

* @param flags int[optional]

* A bitmask of Libxml schema validation flags. Currently the only supported value is LIBXML_SCHEMA_CREATE. Available since PHP 5.5.2 and Libxml 2.6.14. *

* @return bool Returns true on success, false on failure. */ public function schemaValidate ($filename, $flags = null) {} /** * Validates a document based on a schema * @link http://www.php.net/manual/en/domdocument.schemavalidatesource.php * @param source string

* A string containing the schema. *

* @param flags int[optional]

* A bitmask of Libxml schema validation flags. Currently the only supported value is LIBXML_SCHEMA_CREATE. Available since PHP 5.5.2 and Libxml 2.6.14. *

* @return bool Returns true on success, false on failure. */ public function schemaValidateSource ($source, $flags = null) {} /** * Performs relaxNG validation on the document * @link http://www.php.net/manual/en/domdocument.relaxngvalidate.php * @param filename string

* The RNG file. *

* @return bool Returns true on success, false on failure. */ public function relaxNGValidate ($filename) {} /** * Performs relaxNG validation on the document * @link http://www.php.net/manual/en/domdocument.relaxngvalidatesource.php * @param source string

* A string containing the RNG schema. *

* @return bool Returns true on success, false on failure. */ public function relaxNGValidateSource ($source) {} /** * Register extended class used to create base node type * @link http://www.php.net/manual/en/domdocument.registernodeclass.php * @param baseclass string

* The DOM class that you want to extend. You can find a list of these * classes in the chapter introduction. *

* @param extendedclass string

* Your extended class name. If &null; is provided, any previously * registered class extending baseclass will * be removed. *

* @return bool Returns true on success, false on failure. */ public function registerNodeClass ($baseclass, $extendedclass) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMNodeList implements Traversable { /** * Retrieves a node specified by index * @link http://www.php.net/manual/en/domnodelist.item.php * @param index int

* Index of the node into the collection. *

* @return DOMNode The node at the indexth position in the * DOMNodeList, or &null; if that is not a valid * index. */ public function item ($index) {} } class DOMNamedNodeMap implements Traversable { /** * Retrieves a node specified by name * @link http://www.php.net/manual/en/domnamednodemap.getnameditem.php * @param name string

* The nodeName of the node to retrieve. *

* @return DOMNode A node (of any type) with the specified nodeName, or * &null; if no node is found. */ public function getNamedItem ($name) {} /** * @param arg DOMNode */ public function setNamedItem (DOMNode $arg) {} /** * @param name[optional] */ public function removeNamedItem ($name) {} /** * Retrieves a node specified by index * @link http://www.php.net/manual/en/domnamednodemap.item.php * @param index int

* Index into this map. *

* @return DOMNode The node at the indexth position in the map, or &null; * if that is not a valid index (greater than or equal to the number of nodes * in this map). */ public function item ($index) {} /** * Retrieves a node specified by local name and namespace URI * @link http://www.php.net/manual/en/domnamednodemap.getnameditemns.php * @param namespaceURI string

* The namespace URI of the node to retrieve. *

* @param localName string

* The local name of the node to retrieve. *

* @return DOMNode A node (of any type) with the specified local name and namespace URI, or * &null; if no node is found. */ public function getNamedItemNS ($namespaceURI, $localName) {} /** * @param arg DOMNode[optional] */ public function setNamedItemNS (DOMNode $arg) {} /** * @param namespaceURI[optional] * @param localName[optional] */ public function removeNamedItemNS ($namespaceURI, $localName) {} } class DOMCharacterData extends DOMNode { /** * Extracts a range of data from the node * @link http://www.php.net/manual/en/domcharacterdata.substringdata.php * @param offset int

* Start offset of substring to extract. *

* @param count int

* The number of characters to extract. *

* @return string The specified substring. If the sum of offset * and count exceeds the length, then all 16-bit units * to the end of the data are returned. */ public function substringData ($offset, $count) {} /** * Append the string to the end of the character data of the node * @link http://www.php.net/manual/en/domcharacterdata.appenddata.php * @param data string

* The string to append. *

* @return void */ public function appendData ($data) {} /** * Insert a string at the specified 16-bit unit offset * @link http://www.php.net/manual/en/domcharacterdata.insertdata.php * @param offset int

* The character offset at which to insert. *

* @param data string

* The string to insert. *

* @return void */ public function insertData ($offset, $data) {} /** * Remove a range of characters from the node * @link http://www.php.net/manual/en/domcharacterdata.deletedata.php * @param offset int

* The offset from which to start removing. *

* @param count int

* The number of characters to delete. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are deleted. *

* @return void */ public function deleteData ($offset, $count) {} /** * Replace a substring within the DOMCharacterData node * @link http://www.php.net/manual/en/domcharacterdata.replacedata.php * @param offset int

* The offset from which to start replacing. *

* @param count int

* The number of characters to replace. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are replaced. *

* @param data string

* The string with which the range must be replaced. *

* @return void */ public function replaceData ($offset, $count, $data) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMAttr extends DOMNode { /** * Checks if attribute is a defined ID * @link http://www.php.net/manual/en/domattr.isid.php * @return bool Returns true on success, false on failure. */ public function isId () {} /** * Creates a new DOMAttr object * @link http://www.php.net/manual/en/domattr.construct.php * @param name * @param value[optional] */ public function __construct ($name, $value) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMElement extends DOMNode { /** * Returns value of attribute * @link http://www.php.net/manual/en/domelement.getattribute.php * @param name string

* The name of the attribute. *

* @return string The value of the attribute, or an empty string if no attribute with the * given name is found. */ public function getAttribute ($name) {} /** * Adds new attribute * @link http://www.php.net/manual/en/domelement.setattribute.php * @param name string

* The name of the attribute. *

* @param value string

* The value of the attribute. *

* @return DOMAttr The new DOMAttr or false if an error occurred. */ public function setAttribute ($name, $value) {} /** * Removes attribute * @link http://www.php.net/manual/en/domelement.removeattribute.php * @param name string

* The name of the attribute. *

* @return bool Returns true on success, false on failure. */ public function removeAttribute ($name) {} /** * Returns attribute node * @link http://www.php.net/manual/en/domelement.getattributenode.php * @param name string

* The name of the attribute. *

* @return DOMAttr The attribute node. */ public function getAttributeNode ($name) {} /** * Adds new attribute node to element * @link http://www.php.net/manual/en/domelement.setattributenode.php * @param attr DOMAttr

* The attribute node. *

* @return DOMAttr old node if the attribute has been replaced or &null;. */ public function setAttributeNode (DOMAttr $attr) {} /** * Removes attribute * @link http://www.php.net/manual/en/domelement.removeattributenode.php * @param oldnode DOMAttr

* The attribute node. *

* @return bool Returns true on success, false on failure. */ public function removeAttributeNode (DOMAttr $oldnode) {} /** * Gets elements by tagname * @link http://www.php.net/manual/en/domelement.getelementsbytagname.php * @param name string

* The tag name. Use * to return all elements within * the element tree. *

* @return DOMNodeList This function returns a new instance of the class * DOMNodeList of all matched elements. */ public function getElementsByTagName ($name) {} /** * Returns value of attribute * @link http://www.php.net/manual/en/domelement.getattributens.php * @param namespaceURI string

* The namespace URI. *

* @param localName string

* The local name. *

* @return string The value of the attribute, or an empty string if no attribute with the * given localName and namespaceURI * is found. */ public function getAttributeNS ($namespaceURI, $localName) {} /** * Adds new attribute * @link http://www.php.net/manual/en/domelement.setattributens.php * @param namespaceURI string

* The namespace URI. *

* @param qualifiedName string

* The qualified name of the attribute, as prefix:tagname. *

* @param value string

* The value of the attribute. *

* @return void */ public function setAttributeNS ($namespaceURI, $qualifiedName, $value) {} /** * Removes attribute * @link http://www.php.net/manual/en/domelement.removeattributens.php * @param namespaceURI string

* The namespace URI. *

* @param localName string

* The local name. *

* @return bool Returns true on success, false on failure. */ public function removeAttributeNS ($namespaceURI, $localName) {} /** * Returns attribute node * @link http://www.php.net/manual/en/domelement.getattributenodens.php * @param namespaceURI string

* The namespace URI. *

* @param localName string

* The local name. *

* @return DOMAttr The attribute node. */ public function getAttributeNodeNS ($namespaceURI, $localName) {} /** * Adds new attribute node to element * @link http://www.php.net/manual/en/domelement.setattributenodens.php * @param attr DOMAttr

* The attribute node. *

* @return DOMAttr the old node if the attribute has been replaced. */ public function setAttributeNodeNS (DOMAttr $attr) {} /** * Get elements by namespaceURI and localName * @link http://www.php.net/manual/en/domelement.getelementsbytagnamens.php * @param namespaceURI string

* The namespace URI. *

* @param localName string

* The local name. Use * to return all elements within * the element tree. *

* @return DOMNodeList This function returns a new instance of the class * DOMNodeList of all matched elements in the order in * which they are encountered in a preorder traversal of this element tree. */ public function getElementsByTagNameNS ($namespaceURI, $localName) {} /** * Checks to see if attribute exists * @link http://www.php.net/manual/en/domelement.hasattribute.php * @param name string

* The attribute name. *

* @return bool Returns true on success, false on failure. */ public function hasAttribute ($name) {} /** * Checks to see if attribute exists * @link http://www.php.net/manual/en/domelement.hasattributens.php * @param namespaceURI string

* The namespace URI. *

* @param localName string

* The local name. *

* @return bool Returns true on success, false on failure. */ public function hasAttributeNS ($namespaceURI, $localName) {} /** * Declares the attribute specified by name to be of type ID * @link http://www.php.net/manual/en/domelement.setidattribute.php * @param name string

* The name of the attribute. *

* @param isId bool

* Set it to true if you want name to be of type * ID, false otherwise. *

* @return void */ public function setIdAttribute ($name, $isId) {} /** * Declares the attribute specified by local name and namespace URI to be of type ID * @link http://www.php.net/manual/en/domelement.setidattributens.php * @param namespaceURI string

* The namespace URI of the attribute. *

* @param localName string

* The local name of the attribute, as prefix:tagname. *

* @param isId bool

* Set it to true if you want name to be of type * ID, false otherwise. *

* @return void */ public function setIdAttributeNS ($namespaceURI, $localName, $isId) {} /** * Declares the attribute specified by node to be of type ID * @link http://www.php.net/manual/en/domelement.setidattributenode.php * @param attr DOMAttr

* The attribute node. *

* @param isId bool

* Set it to true if you want name to be of type * ID, false otherwise. *

* @return void */ public function setIdAttributeNode (DOMAttr $attr, $isId) {} /** * Creates a new DOMElement object * @link http://www.php.net/manual/en/domelement.construct.php * @param name * @param value[optional] * @param uri[optional] */ public function __construct ($name, $value, $uri) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMText extends DOMCharacterData { /** * Breaks this node into two nodes at the specified offset * @link http://www.php.net/manual/en/domtext.splittext.php * @param offset int

* The offset at which to split, starting from 0. *

* @return DOMText The new node of the same type, which contains all the content at and after the * offset. */ public function splitText ($offset) {} /** * Indicates whether this text node contains whitespace * @link http://www.php.net/manual/en/domtext.iswhitespaceinelementcontent.php * @return bool true if node contains zero or more whitespace characters and * nothing else. Returns false otherwise. */ public function isWhitespaceInElementContent () {} public function isElementContentWhitespace () {} /** * @param content */ public function replaceWholeText ($content) {} /** * Creates a new DOMText object * @link http://www.php.net/manual/en/domtext.construct.php * @param value[optional] */ public function __construct ($value) {} /** * Extracts a range of data from the node * @link http://www.php.net/manual/en/domcharacterdata.substringdata.php * @param offset int

* Start offset of substring to extract. *

* @param count int

* The number of characters to extract. *

* @return string The specified substring. If the sum of offset * and count exceeds the length, then all 16-bit units * to the end of the data are returned. */ public function substringData ($offset, $count) {} /** * Append the string to the end of the character data of the node * @link http://www.php.net/manual/en/domcharacterdata.appenddata.php * @param data string

* The string to append. *

* @return void */ public function appendData ($data) {} /** * Insert a string at the specified 16-bit unit offset * @link http://www.php.net/manual/en/domcharacterdata.insertdata.php * @param offset int

* The character offset at which to insert. *

* @param data string

* The string to insert. *

* @return void */ public function insertData ($offset, $data) {} /** * Remove a range of characters from the node * @link http://www.php.net/manual/en/domcharacterdata.deletedata.php * @param offset int

* The offset from which to start removing. *

* @param count int

* The number of characters to delete. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are deleted. *

* @return void */ public function deleteData ($offset, $count) {} /** * Replace a substring within the DOMCharacterData node * @link http://www.php.net/manual/en/domcharacterdata.replacedata.php * @param offset int

* The offset from which to start replacing. *

* @param count int

* The number of characters to replace. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are replaced. *

* @param data string

* The string with which the range must be replaced. *

* @return void */ public function replaceData ($offset, $count, $data) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMComment extends DOMCharacterData { /** * Creates a new DOMComment object * @link http://www.php.net/manual/en/domcomment.construct.php * @param value[optional] */ public function __construct ($value) {} /** * Extracts a range of data from the node * @link http://www.php.net/manual/en/domcharacterdata.substringdata.php * @param offset int

* Start offset of substring to extract. *

* @param count int

* The number of characters to extract. *

* @return string The specified substring. If the sum of offset * and count exceeds the length, then all 16-bit units * to the end of the data are returned. */ public function substringData ($offset, $count) {} /** * Append the string to the end of the character data of the node * @link http://www.php.net/manual/en/domcharacterdata.appenddata.php * @param data string

* The string to append. *

* @return void */ public function appendData ($data) {} /** * Insert a string at the specified 16-bit unit offset * @link http://www.php.net/manual/en/domcharacterdata.insertdata.php * @param offset int

* The character offset at which to insert. *

* @param data string

* The string to insert. *

* @return void */ public function insertData ($offset, $data) {} /** * Remove a range of characters from the node * @link http://www.php.net/manual/en/domcharacterdata.deletedata.php * @param offset int

* The offset from which to start removing. *

* @param count int

* The number of characters to delete. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are deleted. *

* @return void */ public function deleteData ($offset, $count) {} /** * Replace a substring within the DOMCharacterData node * @link http://www.php.net/manual/en/domcharacterdata.replacedata.php * @param offset int

* The offset from which to start replacing. *

* @param count int

* The number of characters to replace. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are replaced. *

* @param data string

* The string with which the range must be replaced. *

* @return void */ public function replaceData ($offset, $count, $data) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMTypeinfo { } class DOMUserDataHandler { public function handle () {} } class DOMDomError { } class DOMErrorHandler { /** * @param error DOMDomError */ public function handleError (DOMDomError $error) {} } class DOMLocator { } class DOMConfiguration { /** * @param name * @param value */ public function setParameter ($name, $value) {} /** * @param name[optional] */ public function getParameter ($name) {} /** * @param name[optional] * @param value[optional] */ public function canSetParameter ($name, $value) {} } class DOMCdataSection extends DOMText { /** * Constructs a new DOMCdataSection object * @link http://www.php.net/manual/en/domcdatasection.construct.php * @param value */ public function __construct ($value) {} /** * Breaks this node into two nodes at the specified offset * @link http://www.php.net/manual/en/domtext.splittext.php * @param offset int

* The offset at which to split, starting from 0. *

* @return DOMText The new node of the same type, which contains all the content at and after the * offset. */ public function splitText ($offset) {} /** * Indicates whether this text node contains whitespace * @link http://www.php.net/manual/en/domtext.iswhitespaceinelementcontent.php * @return bool true if node contains zero or more whitespace characters and * nothing else. Returns false otherwise. */ public function isWhitespaceInElementContent () {} public function isElementContentWhitespace () {} /** * @param content */ public function replaceWholeText ($content) {} /** * Extracts a range of data from the node * @link http://www.php.net/manual/en/domcharacterdata.substringdata.php * @param offset int

* Start offset of substring to extract. *

* @param count int

* The number of characters to extract. *

* @return string The specified substring. If the sum of offset * and count exceeds the length, then all 16-bit units * to the end of the data are returned. */ public function substringData ($offset, $count) {} /** * Append the string to the end of the character data of the node * @link http://www.php.net/manual/en/domcharacterdata.appenddata.php * @param data string

* The string to append. *

* @return void */ public function appendData ($data) {} /** * Insert a string at the specified 16-bit unit offset * @link http://www.php.net/manual/en/domcharacterdata.insertdata.php * @param offset int

* The character offset at which to insert. *

* @param data string

* The string to insert. *

* @return void */ public function insertData ($offset, $data) {} /** * Remove a range of characters from the node * @link http://www.php.net/manual/en/domcharacterdata.deletedata.php * @param offset int

* The offset from which to start removing. *

* @param count int

* The number of characters to delete. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are deleted. *

* @return void */ public function deleteData ($offset, $count) {} /** * Replace a substring within the DOMCharacterData node * @link http://www.php.net/manual/en/domcharacterdata.replacedata.php * @param offset int

* The offset from which to start replacing. *

* @param count int

* The number of characters to replace. If the sum of * offset and count exceeds * the length, then all characters to the end of the data are replaced. *

* @param data string

* The string with which the range must be replaced. *

* @return void */ public function replaceData ($offset, $count, $data) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMDocumentType extends DOMNode { /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMNotation extends DOMNode { /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMEntity extends DOMNode { /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMEntityReference extends DOMNode { /** * Creates a new DOMEntityReference object * @link http://www.php.net/manual/en/domentityreference.construct.php * @param name */ public function __construct ($name) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMProcessingInstruction extends DOMNode { /** * Creates a new DOMProcessingInstruction object * @link http://www.php.net/manual/en/domprocessinginstruction.construct.php * @param name * @param value[optional] */ public function __construct ($name, $value) {} /** * Adds a new child before a reference node * @link http://www.php.net/manual/en/domnode.insertbefore.php * @param newnode DOMNode

* The new node. *

* @param refnode DOMNode[optional]

* The reference node. If not supplied, newnode is * appended to the children. *

* @return DOMNode The inserted node. */ public function insertBefore (DOMNode $newnode, DOMNode $refnode = null) {} /** * Replaces a child * @link http://www.php.net/manual/en/domnode.replacechild.php * @param newnode DOMNode

* The new node. It must be a member of the target document, i.e. * created by one of the DOMDocument->createXXX() methods or imported in * the document by . *

* @param oldnode DOMNode

* The old node. *

* @return DOMNode The old node or false if an error occur. */ public function replaceChild (DOMNode $newnode, DOMNode $oldnode) {} /** * Removes child from list of children * @link http://www.php.net/manual/en/domnode.removechild.php * @param oldnode DOMNode

* The removed child. *

* @return DOMNode If the child could be removed the function returns the old child. */ public function removeChild (DOMNode $oldnode) {} /** * Adds new child at the end of the children * @link http://www.php.net/manual/en/domnode.appendchild.php * @param newnode DOMNode

* The appended child. *

* @return DOMNode The node added. */ public function appendChild (DOMNode $newnode) {} /** * Checks if node has children * @link http://www.php.net/manual/en/domnode.haschildnodes.php * @return bool Returns true on success, false on failure. */ public function hasChildNodes () {} /** * Clones a node * @link http://www.php.net/manual/en/domnode.clonenode.php * @param deep bool[optional]

* Indicates whether to copy all descendant nodes. This parameter is * defaulted to false. *

* @return DOMNode The cloned node. */ public function cloneNode ($deep = null) {} /** * Normalizes the node * @link http://www.php.net/manual/en/domnode.normalize.php * @return void */ public function normalize () {} /** * Checks if feature is supported for specified version * @link http://www.php.net/manual/en/domnode.issupported.php * @param feature string

* The feature to test. See the example of * DOMImplementation::hasFeature for a * list of features. *

* @param version string

* The version number of the feature to test. *

* @return bool Returns true on success, false on failure. */ public function isSupported ($feature, $version) {} /** * Checks if node has attributes * @link http://www.php.net/manual/en/domnode.hasattributes.php * @return bool Returns true on success, false on failure. */ public function hasAttributes () {} /** * @param other DOMNode */ public function compareDocumentPosition (DOMNode $other) {} /** * Indicates if two nodes are the same node * @link http://www.php.net/manual/en/domnode.issamenode.php * @param node DOMNode

* The compared node. *

* @return bool Returns true on success, false on failure. */ public function isSameNode (DOMNode $node) {} /** * Gets the namespace prefix of the node based on the namespace URI * @link http://www.php.net/manual/en/domnode.lookupprefix.php * @param namespaceURI string

* The namespace URI. *

* @return string The prefix of the namespace. */ public function lookupPrefix ($namespaceURI) {} /** * Checks if the specified namespaceURI is the default namespace or not * @link http://www.php.net/manual/en/domnode.isdefaultnamespace.php * @param namespaceURI string

* The namespace URI to look for. *

* @return bool Return true if namespaceURI is the default * namespace, false otherwise. */ public function isDefaultNamespace ($namespaceURI) {} /** * Gets the namespace URI of the node based on the prefix * @link http://www.php.net/manual/en/domnode.lookupnamespaceuri.php * @param prefix string

* The prefix of the namespace. *

* @return string The namespace URI of the node. */ public function lookupNamespaceUri ($prefix) {} /** * @param arg DOMNode */ public function isEqualNode (DOMNode $arg) {} /** * @param feature * @param version */ public function getFeature ($feature, $version) {} /** * @param key * @param data * @param handler */ public function setUserData ($key, $data, $handler) {} /** * @param key */ public function getUserData ($key) {} /** * Get an XPath for a node * @link http://www.php.net/manual/en/domnode.getnodepath.php * @return string a string containing the XPath, or &null; in case of an error. */ public function getNodePath () {} /** * Get line number for a node * @link http://www.php.net/manual/en/domnode.getlineno.php * @return int Always returns the line number where the node was defined in. */ public function getLineNo () {} /** * Canonicalize nodes to a string * @link http://www.php.net/manual/en/domnode.c14n.php * @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return string canonicalized nodes as a string&return.falseforfailure; */ public function C14N ($exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} /** * Canonicalize nodes to a file * @link http://www.php.net/manual/en/domnode.c14nfile.php * @param uri string

* Path to write the output to. *

* @param exclusive bool[optional]

* Enable exclusive parsing of only the nodes matched by the provided * xpath or namespace prefixes. *

* @param with_comments bool[optional]

* Retain comments in output. *

* @param xpath array[optional]

* An array of xpaths to filter the nodes by. *

* @param ns_prefixes array[optional]

* An array of namespace prefixes to filter the nodes by. *

* @return int Number of bytes written&return.falseforfailure; */ public function C14NFile ($uri, $exclusive = null, $with_comments = null, array $xpath = null, array $ns_prefixes = null) {} } class DOMStringExtend { /** * @param offset32 */ public function findOffset16 ($offset32) {} /** * @param offset16 */ public function findOffset32 ($offset16) {} } class DOMXPath { /** * Creates a new DOMXPath object * @link http://www.php.net/manual/en/domxpath.construct.php * @param doc DOMDocument */ public function __construct (DOMDocument $doc) {} /** * Registers the namespace with the DOMXPath object * @link http://www.php.net/manual/en/domxpath.registernamespace.php * @param prefix string

* The prefix. *

* @param namespaceURI string

* The URI of the namespace. *

* @return bool Returns true on success, false on failure. */ public function registerNamespace ($prefix, $namespaceURI) {} /** * Evaluates the given XPath expression * @link http://www.php.net/manual/en/domxpath.query.php * @param expression string

* The XPath expression to execute. *

* @param contextnode DOMNode[optional]

* The optional contextnode can be specified for * doing relative XPath queries. By default, the queries are relative to * the root element. *

* @param registerNodeNS bool[optional]

* The optional registerNodeNS can be specified to * disable automatic registration of the context node. *

* @return DOMNodeList a DOMNodeList containing all nodes matching * the given XPath expression. Any expression which * does not return nodes will return an empty * DOMNodeList. *

*

* If the expression is malformed or the * contextnode is invalid, * DOMXPath::query returns false. */ public function query ($expression, DOMNode $contextnode = null, $registerNodeNS = null) {} /** * Evaluates the given XPath expression and returns a typed result if possible * @link http://www.php.net/manual/en/domxpath.evaluate.php * @param expression string

* The XPath expression to execute. *

* @param contextnode DOMNode[optional]

* The optional contextnode can be specified for * doing relative XPath queries. By default, the queries are relative to * the root element. *

* @param registerNodeNS bool[optional]

* The optional registerNodeNS can be specified to * disable automatic registration of the context node. *

* @return mixed a typed result if possible or a DOMNodeList * containing all nodes matching the given XPath expression. *

*

* If the expression is malformed or the * contextnode is invalid, * DOMXPath::evaluate returns false. */ public function evaluate ($expression, DOMNode $contextnode = null, $registerNodeNS = null) {} /** * Register PHP functions as XPath functions * @link http://www.php.net/manual/en/domxpath.registerphpfunctions.php * @param restrict mixed[optional]

* Use this parameter to only allow certain functions to be called from XPath. *

*

* This parameter can be either a string (a function name) or * an array of function names. *

* @return void */ public function registerPhpFunctions ($restrict = null) {} } /** * Gets a DOMElement object from a SimpleXMLElement object * @link http://www.php.net/manual/en/function.dom-import-simplexml.php * @param node SimpleXMLElement

* The SimpleXMLElement node. *

* @return DOMElement The DOMElement node added or false if any errors occur. */ function dom_import_simplexml (SimpleXMLElement $node) {} /** * Node is a DOMElement * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_ELEMENT_NODE', 1); /** * Node is a DOMAttr * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_ATTRIBUTE_NODE', 2); /** * Node is a DOMText * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_TEXT_NODE', 3); /** * Node is a DOMCharacterData * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_CDATA_SECTION_NODE', 4); /** * Node is a DOMEntityReference * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_ENTITY_REF_NODE', 5); /** * Node is a DOMEntity * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_ENTITY_NODE', 6); /** * Node is a DOMProcessingInstruction * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_PI_NODE', 7); /** * Node is a DOMComment * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_COMMENT_NODE', 8); /** * Node is a DOMDocument * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_DOCUMENT_NODE', 9); /** * Node is a DOMDocumentType * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_DOCUMENT_TYPE_NODE', 10); /** * Node is a DOMDocumentFragment * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_DOCUMENT_FRAG_NODE', 11); /** * Node is a DOMNotation * @link http://www.php.net/manual/en/dom.constants.php */ define ('XML_NOTATION_NODE', 12); define ('XML_HTML_DOCUMENT_NODE', 13); define ('XML_DTD_NODE', 14); define ('XML_ELEMENT_DECL_NODE', 15); define ('XML_ATTRIBUTE_DECL_NODE', 16); define ('XML_ENTITY_DECL_NODE', 17); define ('XML_NAMESPACE_DECL_NODE', 18); define ('XML_LOCAL_NAMESPACE', 18); define ('XML_ATTRIBUTE_CDATA', 1); define ('XML_ATTRIBUTE_ID', 2); define ('XML_ATTRIBUTE_IDREF', 3); define ('XML_ATTRIBUTE_IDREFS', 4); define ('XML_ATTRIBUTE_ENTITY', 6); define ('XML_ATTRIBUTE_NMTOKEN', 7); define ('XML_ATTRIBUTE_NMTOKENS', 8); define ('XML_ATTRIBUTE_ENUMERATION', 9); define ('XML_ATTRIBUTE_NOTATION', 10); /** * Error code not part of the DOM specification. Meant for PHP errors. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_PHP_ERR', 0); /** * If index or size is negative, or greater than the allowed value. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_INDEX_SIZE_ERR', 1); /** * If the specified range of text does not fit into a * DOMString. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOMSTRING_SIZE_ERR', 2); /** * If any node is inserted somewhere it doesn't belong * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_HIERARCHY_REQUEST_ERR', 3); /** * If a node is used in a different document than the one that created it. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_WRONG_DOCUMENT_ERR', 4); /** * If an invalid or illegal character is specified, such as in a name. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_INVALID_CHARACTER_ERR', 5); /** * If data is specified for a node which does not support data. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_NO_DATA_ALLOWED_ERR', 6); /** * If an attempt is made to modify an object where modifications are not allowed. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_NO_MODIFICATION_ALLOWED_ERR', 7); /** * If an attempt is made to reference a node in a context where it does not exist. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_NOT_FOUND_ERR', 8); /** * If the implementation does not support the requested type of object or operation. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_NOT_SUPPORTED_ERR', 9); /** * If an attempt is made to add an attribute that is already in use elsewhere. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_INUSE_ATTRIBUTE_ERR', 10); /** * If an attempt is made to use an object that is not, or is no longer, usable. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_INVALID_STATE_ERR', 11); /** * If an invalid or illegal string is specified. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_SYNTAX_ERR', 12); /** * If an attempt is made to modify the type of the underlying object. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_INVALID_MODIFICATION_ERR', 13); /** * If an attempt is made to create or change an object in a way which is * incorrect with regard to namespaces. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_NAMESPACE_ERR', 14); /** * If a parameter or an operation is not supported by the underlying object. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_INVALID_ACCESS_ERR', 15); /** * If a call to a method such as insertBefore or removeChild would make the Node * invalid with respect to "partial validity", this exception would be raised and * the operation would not be done. * @link http://www.php.net/manual/en/dom.constants.php */ define ('DOM_VALIDATION_ERR', 16); // End of dom v.20031129 ?>