original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Add a tab to the form
  
  @param string $name
  @param string $title
  @return \Gems_Form_TabSubForm
docstring_tokens: Add a tab to the form