Swat/SwatToolbar.php
public function getToolLinks()
    {
        $tools = array();
        foreach ($this->getDescendants('SwatToolLink') as $tool) {
            if ($tool->getFirstAncestor('SwatToolbar') === $this) {
                $tools[] = $tool;
            }
        }

        return $tools;
    }
public function getToolLinks()
    {
        $tools = array();
        foreach ($this->getDescendants('SwatToolLink') as $tool) {
            if ($tool->getFirstAncestor('SwatToolbar') === $this) {
                $tools[] = $tool;
            }
        }

        return $tools;
    }
public function getToolLinks ( ) { $ tools = array ( ) ; foreach ( $ this -> getDescendants ( 'SwatToolLink' ) as $ tool ) { if ( $ tool -> getFirstAncestor ( 'SwatToolbar' ) === $ this ) { $ tools [ ] = $ tool ; } } return $ tools ; }
Gets the tool links of this toolbar

Returns an the array of {@link SwatToolLink} objects contained
by this toolbar.

@return array the tool links contained by this toolbar.
Gets the tool links of this toolbar