def findall(self, tag):
        """
            Find all items within the tree with the specified tag

            @param tag: the tag
        """

        items = []
        if tag in self.tags:
            items.append(self)
        components = self.components
        for c in components:
            _items = c.findall(tag)
            items.extend(_items)
        return items

    # -------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/modules/s3/s3navigation.py/S3NavigationItem.findall/original