NodeLocator
abstract class NodeLocator
Methods
Return all attributes (literal or generated) that match given regexp
Return all elements (literal or generated) that match given regexp
Return all elements (literal or generated) that match given regexp
Return all nodes (literal or generated) that match given regexp
Details
at line 22
static DOMNode[]
getAttributesByRegexp(DOMDocument $dom, string $regexp)
Return all attributes (literal or generated) that match given regexp
at line 33
static DOMNode[]
getCSSNodes(DOMDocument $dom)
Return all DOMNodes whose content is CSS
at line 51
static DOMNode[]
getElementsByRegexp(DOMDocument $dom, string $regexp)
Return all elements (literal or generated) that match given regexp
at line 62
static DOMNode[]
getJSNodes(DOMDocument $dom)
Return all DOMNodes whose content is JavaScript
at line 84
static DOMNode[]
getObjectParamsByRegexp(DOMDocument $dom, string $regexp)
Return all elements (literal or generated) that match given regexp
Will return all descendants of and all attributes of whose name
matches given regexp. This method will NOT catch elements whose 'name' attribute is
set via an
at line 126
static DOMNode[]
getURLNodes(DOMDocument $dom)
Return all DOMNodes whose content is an URL
NOTE: it will also return HTML4 nodes whose content is an URI
at line 154
static protected DOMNode[]
getNodes(DOMDocument $dom, string $type)
Return all nodes of given type
at line 192
static protected DOMNode[]
getNodesByRegexp(DOMDocument $dom, string $regexp, string $type)
Return all nodes (literal or generated) that match given regexp