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 20
static DomQuery
fromHtml($html)
No description
at line 49
static DomQuery
fromXml($xml)
No description
at line 59
DomQuery[]
find($selector)
Returns array of descendants filtered by a selector.
at line 69
bool
has($selector)
Check the current document against a selector.
at line 79
static string
css2xpath($css)
Transforms CSS expression to XPath.