public isAncestorOrDescendantNodeOf ( string $nodePathOrIdentifier ) : boolean | ||
$nodePathOrIdentifier | string | The identifier or absolute path of the node to match |
Результат | boolean | TRUE if the given node matches otherwise false |
public function isAncestorOrDescendantNodeOf($nodePathOrIdentifier)
{
return $this->isAncestorNodeOf($nodePathOrIdentifier) || $this->isDescendantNodeOf($nodePathOrIdentifier);
}