protected function render()
    {
        if (null === $this->active) {
            $this->setActive(key($this->tabs));
        }

        $tabs       = new ViewModel;
        $tabs->tabs = $this->tabs;

        $tabs->setTemplate('sxbootstrap/tabs/tabs');

        return $this->getView()->render($tabs);
    }
protected function render()
    {
        if (null === $this->active) {
            $this->setActive(key($this->tabs));
        }

        $tabs       = new ViewModel;
        $tabs->tabs = $this->tabs;

        $tabs->setTemplate('sxbootstrap/tabs/tabs');

        return $this->getView()->render($tabs);
    }
protected function render ( ) { if ( null === $ this -> active ) { $ this -> setActive ( key ( $ this -> tabs ) ) ; } $ tabs = new ViewModel ; $ tabs -> tabs = $ this -> tabs ; $ tabs -> setTemplate ( 'sxbootstrap/tabs/tabs' ) ; return $ this -> getView ( ) -> render ( $ tabs ) ; }
Renders the tabs and returns the markup.

@return string
Renders the tabs and returns the markup .