original_string: public function other_cols($colname, $data) {
          // Do not process if it is not a part of the extra fields.
          if (!in_array($colname, $this->extrafields)) {
              return '';
          }
  
          return s($data->{$colname});
      }
code: public function other_cols($colname, $data) {
          // Do not process if it is not a part of the extra fields.
          if (!in_array($colname, $this->extrafields)) {
              return '';
          }
  
          return s($data->{$colname});
      }
code_tokens: public function other_cols ( $ colname , $ data ) { // Do not process if it is not a part of the extra fields. if ( ! in_array ( $ colname , $ this -> extrafields ) ) { return '' ; } return s ( $ data -> { $ colname } ) ; }
docstring: This function is used for the extra user fields.
  
  These are being dynamically added to the table so there are no functions 'col_<userfieldname>' as
  the list has the potential to increase in the future and we don't want to have to remember to add
  a new method to this class. We also don't want to pollute this class with unnecessary methods.
  
  @param string $colname The column name
  @param \stdClass $data
  @return string
docstring_tokens: This function is used for the extra user fields .