Method Parser.XML.Tree.AbstractNode()->get_ancestors()


Method get_ancestors

array(AbstractNode) get_ancestors(bool include_self)

Description

Returns a list of all ancestors, with the top node last. The list will start with this node if include_self is set.