Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Query DOM structures based on CSS selectors and/or XPath
DOC_XML = 'docXml'
Details DOC_HTML = 'docHtml'
Details DOC_XHTML = 'docXhtml'
Detailsstring $_docType = ''Document type
Detailsstring $_document = ''
Detailsfalse|array $_documentErrors = 'false'DOMDocument errors, if any
Details__construct(
null|string $document
=
null
)
:
voidConstructor
Details_getNodeList(
DOMDocument $document, string|array $xpathQuery
)
:
arrayPrepare node list
DetailsgetDocument(
)
:
stringRetrieve current document
DetailsgetDocumentErrors(
)
:
false|arrayGet any DOMDocument errors found
DetailsgetDocumentType(
)
:
stringGet document type
Detailsquery(
string $query
)
:
Zend_Dom_Query_ResultPerform a CSS selector query
DetailsqueryXpath(
string|array $xpathQuery, string $query
=
null
)
:
Zend_Dom_Query_ResultPerform an XPath query
DetailssetDocument(
string $document
)
:
Zend_Dom_QuerySet document to query
DetailssetDocumentHtml(
string $document
)
:
Zend_Dom_QueryRegister HTML document
DetailssetDocumentXhtml(
string $document
)
:
Zend_Dom_QueryRegister XHTML document
DetailssetDocumentXml(
string $document
)
:
Zend_Dom_QueryRegister XML document
Details