NodeLocator
abstract class NodeLocator
Methods
static DOMNode[]
getAttributesByRegexp(DOMDocument $dom, string $regexp)
Return all attributes (literal or generated) that match given regexp
static DOMNode[]
static DOMNode[]
getElementsByRegexp(DOMDocument $dom, string $regexp)
Return all elements (literal or generated) that match given regexp
static DOMNode[]
static DOMNode[]
getObjectParamsByRegexp(DOMDocument $dom, string $regexp)
Return all elements (literal or generated) that match given regexp
static DOMNode[]
static DOMNode[]
static DOMNode[]
getNodesByRegexp(DOMDocument $dom, string $regexp, string $type)
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