original_string: public function getTitleField()
      {
          if ($this->title_field && $this->hasElement($this->title_field)) {
              return $this->title_field;
          }
  
          return $this->id_field;
      }
code: public function getTitleField()
      {
          if ($this->title_field && $this->hasElement($this->title_field)) {
              return $this->title_field;
          }
  
          return $this->id_field;
      }
code_tokens: public function getTitleField ( ) { if ( $ this -> title_field && $ this -> hasElement ( $ this -> title_field ) ) { return $ this -> title_field ; } return $ this -> id_field ; }
docstring: Return the title field.
  
  @return string the title field
docstring_tokens: Return the title field .