original_string: public function removeTab($name)
      {
          foreach ($this->allFields as $fieldName => $field) {
              if ($field->tab == $name) {
                  $this->removeField($fieldName);
              }
          }
      }
code: public function removeTab($name)
      {
          foreach ($this->allFields as $fieldName => $field) {
              if ($field->tab == $name) {
                  $this->removeField($fieldName);
              }
          }
      }
code_tokens: public function removeTab ( $ name ) { foreach ( $ this -> allFields as $ fieldName => $ field ) { if ( $ field -> tab == $ name ) { $ this -> removeField ( $ fieldName ) ; } } }
docstring: Programatically remove all fields belonging to a tab.
  
  @param string $name
  @return bool
docstring_tokens: Programatically remove all fields belonging to a tab .