code/libraries/joomlatools/library/controller/toolbar/mixin/mixin.php
public function getToolbar($type = 'actionbar')
    {
        $result = null;

        if(isset($this->__toolbars[$type])) {
            $result = $this->__toolbars[$type];
        }

        return $result;
    }
public function getToolbar($type = 'actionbar')
    {
        $result = null;

        if(isset($this->__toolbars[$type])) {
            $result = $this->__toolbars[$type];
        }

        return $result;
    }
public function getToolbar ( $ type = 'actionbar' ) { $ result = null ; if ( isset ( $ this -> __toolbars [ $ type ] ) ) { $ result = $ this -> __toolbars [ $ type ] ; } return $ result ; }
Get a toolbar by type

@param  string  $type   The toolbar name
@return KControllerToolbarInterface
Get a toolbar by type