pQuery\DomNode::getChildrenByClass PHP Method

getChildrenByClass() public method

Finds all children using class attribute
public getChildrenByClass ( string $class, boolean | integer $recursive = true ) : array
$class string
$recursive boolean | integer
return array
    function getChildrenByClass($class, $recursive = true)
    {
        return $this->getChildrenByAttribute('class', $class, 'equals', 'total', $recursive);
    }
DomNode