pQuery\DomNode::filter_nlastchild PHP 메소드

filter_nlastchild() 보호된 메소드

Checks if node matches css query filter ":nth-last-child(n)"
또한 보기: match()
protected filter_nlastchild ( string $n ) : boolean
$n string 1-based index
리턴 boolean
    protected function filter_nlastchild($n)
    {
        if ($this->parent === null) {
            return false;
        } else {
            return $this->parent->childCount(true) - $this->index(false) === (int) $n;
        }
    }
DomNode