getElementsByClassName()
getElementsByClassName(string $cls) : \DOMNodeList
Retrieve all child nodes in the node according to a class name.
Parameters
string | $cls | The class name. |
ExtDOMElement class.
Adds functionality to PHP's built-in DOMElement class.