Class DomQuery
DomQuery simplifies querying (X)HTML documents.
-
SimpleXMLElement
implements
Traversable
-
Tester\DomQuery
Methods summary
public static
Tester\DomQuery
|
|
public static
Tester\DomQuery
|
|
public
Tester\DomQuery[]
|
#
find( mixed $selector )
Returns array of descendants filtered by a selector.
Returns array of descendants filtered by a selector.
Returns
|
public
boolean
|
#
has( mixed $selector )
Check the current document against a selector.
Check the current document against a selector.
Returns
boolean
|
public static
string
|
#
css2xpath( mixed $css )
Transforms CSS expression to XPath.
Transforms CSS expression to XPath.
Returns
string
|
Methods inherited from SimpleXMLElement
__construct(),
__toString(),
addAttribute(),
addChild(),
asXML(),
attributes(),
children(),
count(),
getDocNamespaces(),
getName(),
getNamespaces(),
registerXPathNamespace(),
saveXML(),
xpath()
|