Neos\ContentRepository\Domain\Model\Node::hasChildNodes PHP 메소드

hasChildNodes() 공개 메소드

Checks if this node has any child nodes.
public hasChildNodes ( string $nodeTypeFilter = null ) : boolean
$nodeTypeFilter string If specified, only nodes with that node type are considered
리턴 boolean TRUE if this node has child nodes, otherwise FALSE
    public function hasChildNodes($nodeTypeFilter = null)
    {
        return $this->getNumberOfChildNodes($nodeTypeFilter) > 0;
    }
Node