original_string: public function removeField($name)
      {
          if (!isset($this->allFields[$name])) {
              return false;
          }
  
          /*
           * Remove from tabs
           */
          $this->allTabs->primary->removeField($name);
          $this->allTabs->secondary->removeField($name);
          $this->allTabs->outside->removeField($name);
  
          /*
           * Remove from main collection
           */
          unset($this->allFields[$name]);
  
          return true;
      }
code: public function removeField($name)
      {
          if (!isset($this->allFields[$name])) {
              return false;
          }
  
          /*
           * Remove from tabs
           */
          $this->allTabs->primary->removeField($name);
          $this->allTabs->secondary->removeField($name);
          $this->allTabs->outside->removeField($name);
  
          /*
           * Remove from main collection
           */
          unset($this->allFields[$name]);
  
          return true;
      }
code_tokens: public function removeField ( $ name ) { if ( ! isset ( $ this -> allFields [ $ name ] ) ) { return false ; } /*
           * Remove from tabs
           */ $ this -> allTabs -> primary -> removeField ( $ name ) ; $ this -> allTabs -> secondary -> removeField ( $ name ) ; $ this -> allTabs -> outside -> removeField ( $ name ) ; /*
           * Remove from main collection
           */ unset ( $ this -> allFields [ $ name ] ) ; return true ; }
docstring: Programatically remove a field.
  
  @param string $name
  @return bool
docstring_tokens: Programatically remove a field .