Swat/SwatGroupedFlydown.php
protected function getDisplayTree()
    {
        $display_tree = new SwatTreeFlydownNode(null, 'root');
        if ($this->show_blank) {
            $display_tree->addChild(
                new SwatTreeFlydownNode(null, $this->blank_title)
            );
        }

        foreach ($this->tree->getChildren() as $child) {
            $this->buildDisplayTree($child, $display_tree);
        }

        return $display_tree;
    }
protected function getDisplayTree()
    {
        $display_tree = new SwatTreeFlydownNode(null, 'root');
        if ($this->show_blank) {
            $display_tree->addChild(
                new SwatTreeFlydownNode(null, $this->blank_title)
            );
        }

        foreach ($this->tree->getChildren() as $child) {
            $this->buildDisplayTree($child, $display_tree);
        }

        return $display_tree;
    }
protected function getDisplayTree ( ) { $ display_tree = new SwatTreeFlydownNode ( null , 'root' ) ; if ( $ this -> show_blank ) { $ display_tree -> addChild ( new SwatTreeFlydownNode ( null , $ this -> blank_title ) ) ; } foreach ( $ this -> tree -> getChildren ( ) as $ child ) { $ this -> buildDisplayTree ( $ child , $ display_tree ) ; } return $ display_tree ; }
Gets the display tree of this grouped flydown

The display tree is copied from this grouped flydown's tree. If
{@link SwatGroupedFlydown::$show_blank} is true, a blank node is
inserted as the first child of the root node of the display tree.

The value of a display tree node is set to an array representing the
path to the node in the display tree.

@see setTree()
Gets the display tree of this grouped flydown