public function addTab($name, $title)
    {
        if ($title instanceof \MUtil_Html_HtmlInterface) {
            $title = $title->render($this->getView());
        }
        $tab = new \Gems_Form_TabSubForm(array('name' => $name, 'title' => strip_tags($title)));
        $this->currentTab = $tab;
        $this->addSubForm($tab, $name);
        return $tab;
    }
public function addTab($name, $title)
    {
        if ($title instanceof \MUtil_Html_HtmlInterface) {
            $title = $title->render($this->getView());
        }
        $tab = new \Gems_Form_TabSubForm(array('name' => $name, 'title' => strip_tags($title)));
        $this->currentTab = $tab;
        $this->addSubForm($tab, $name);
        return $tab;
    }
public function addTab ( $ name , $ title ) { if ( $ title instanceof \ MUtil_Html_HtmlInterface ) { $ title = $ title -> render ( $ this -> getView ( ) ) ; } $ tab = new \ Gems_Form_TabSubForm ( array ( 'name' => $ name , 'title' => strip_tags ( $ title ) ) ) ; $ this -> currentTab = $ tab ; $ this -> addSubForm ( $ tab , $ name ) ; return $ tab ; }
Add a tab to the form

@param string $name
@param string $title
@return \Gems_Form_TabSubForm
Add a tab to the form