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'
DOC_HTML = 'docHtml'
DOC_XHTML = 'docXhtml'
string $_docType = ''
Document type
string $_document = ''
false|array $_documentErrors = 'false'
DOMDocument errors, if any
__construct(
null|string $document
=
null
)
:
void
Constructor
_getNodeList(
DOMDocument $document, string|array $xpathQuery
)
:
array
Prepare node list
getDocument(
)
:
string
Retrieve current document
getDocumentErrors(
)
:
false|array
Get any DOMDocument errors found
getDocumentType(
)
:
string
Get document type
query(
string $query
)
:
Zend_Dom_Query_Result
Perform a CSS selector query
queryXpath(
string|array $xpathQuery, string $query
=
null
)
:
Zend_Dom_Query_Result
Perform an XPath query
setDocument(
string $document
)
:
Zend_Dom_Query
Set document to query
setDocumentHtml(
string $document
)
:
Zend_Dom_Query
Register HTML document
setDocumentXhtml(
string $document
)
:
Zend_Dom_Query
Register XHTML document
setDocumentXml(
string $document
)
:
Zend_Dom_Query
Register XML document