DomQuery
class DomQuery extends SimpleXMLElement
DomQuery simplifies querying (X)HTML documents.
Methods
bool
has($selector)
Check the current document against a selector.
static string
css2xpath($css)
Transforms CSS expression to XPath.
Details
at line 19
static DomQuery
fromHtml($html)
No description
at line 54
static DomQuery
fromXml($xml)
No description
at line 64
DomQuery[]
find($selector)
Returns array of descendants filtered by a selector.
at line 74
bool
has($selector)
Check the current document against a selector.
at line 84
static string
css2xpath($css)
Transforms CSS expression to XPath.