original_string: public function format_column_name($grade_item, $feedback=false, $gradedisplayname = null) {
          $column = new stdClass();
  
          if ($grade_item->itemtype == 'mod') {
              $column->name = get_string('modulename', $grade_item->itemmodule).get_string('labelsep', 'langconfig').$grade_item->get_name();
          } else {
              $column->name = $grade_item->get_name(true);
          }
  
          // We can't have feedback and display type at the same time.
          $column->extra = ($feedback) ? get_string('feedback') : get_string($gradedisplayname, 'grades');
  
          return html_to_text(get_string('gradeexportcolumntype', 'grades', $column), 0, false);
      }
code: public function format_column_name($grade_item, $feedback=false, $gradedisplayname = null) {
          $column = new stdClass();
  
          if ($grade_item->itemtype == 'mod') {
              $column->name = get_string('modulename', $grade_item->itemmodule).get_string('labelsep', 'langconfig').$grade_item->get_name();
          } else {
              $column->name = $grade_item->get_name(true);
          }
  
          // We can't have feedback and display type at the same time.
          $column->extra = ($feedback) ? get_string('feedback') : get_string($gradedisplayname, 'grades');
  
          return html_to_text(get_string('gradeexportcolumntype', 'grades', $column), 0, false);
      }
code_tokens: public function format_column_name ( $ grade_item , $ feedback = false , $ gradedisplayname = null ) { $ column = new stdClass ( ) ; if ( $ grade_item -> itemtype == 'mod' ) { $ column -> name = get_string ( 'modulename' , $ grade_item -> itemmodule ) . get_string ( 'labelsep' , 'langconfig' ) . $ grade_item -> get_name ( ) ; } else { $ column -> name = $ grade_item -> get_name ( true ) ; } // We can't have feedback and display type at the same time. $ column -> extra = ( $ feedback ) ? get_string ( 'feedback' ) : get_string ( $ gradedisplayname , 'grades' ) ; return html_to_text ( get_string ( 'gradeexportcolumntype' , 'grades' , $ column ) , 0 , false ) ; }
docstring: Returns the name of column in export
  @param object $grade_item
  @param boolean $feedback feedback colum
  @param string $gradedisplayname grade display name.
  @return string
docstring_tokens: Returns the name of column in export