original_string: protected function get_sort_icon($reverse) {
          global $OUTPUT;
          if ($reverse) {
              return $OUTPUT->pix_icon('t/sort_desc', get_string('desc'), '', array('class' => 'iconsort'));
          } else {
              return $OUTPUT->pix_icon('t/sort_asc', get_string('asc'), '', array('class' => 'iconsort'));
          }
      }
code: protected function get_sort_icon($reverse) {
          global $OUTPUT;
          if ($reverse) {
              return $OUTPUT->pix_icon('t/sort_desc', get_string('desc'), '', array('class' => 'iconsort'));
          } else {
              return $OUTPUT->pix_icon('t/sort_asc', get_string('asc'), '', array('class' => 'iconsort'));
          }
      }
code_tokens: protected function get_sort_icon ( $ reverse ) { global $ OUTPUT ; if ( $ reverse ) { return $ OUTPUT -> pix_icon ( 't/sort_desc' , get_string ( 'desc' ) , '' , array ( 'class' => 'iconsort' ) ) ; } else { return $ OUTPUT -> pix_icon ( 't/sort_asc' , get_string ( 'asc' ) , '' , array ( 'class' => 'iconsort' ) ) ; } }
docstring: Get an icon representing the corrent sort state.
  @param $reverse sort is descending, not ascending.
  @return string HTML image tag.
docstring_tokens: Get an icon representing the corrent sort state .