original_string: protected function get_direction_icon($output, $field) {
          $direction = self::DEFAULTSORTDIRECTION;
          if ($this->sort == $field) {
              $direction = $this->sortdirection;
          }
          if ($direction === 'ASC') {
              return $output->pix_icon('t/sort_asc', get_string('sort'));
          } else {
              return $output->pix_icon('t/sort_desc', get_string('sort'));
          }
      }
code: protected function get_direction_icon($output, $field) {
          $direction = self::DEFAULTSORTDIRECTION;
          if ($this->sort == $field) {
              $direction = $this->sortdirection;
          }
          if ($direction === 'ASC') {
              return $output->pix_icon('t/sort_asc', get_string('sort'));
          } else {
              return $output->pix_icon('t/sort_desc', get_string('sort'));
          }
      }
code_tokens: protected function get_direction_icon ( $ output , $ field ) { $ direction = self :: DEFAULTSORTDIRECTION ; if ( $ this -> sort == $ field ) { $ direction = $ this -> sortdirection ; } if ( $ direction === 'ASC' ) { return $ output -> pix_icon ( 't/sort_asc' , get_string ( 'sort' ) ) ; } else { return $ output -> pix_icon ( 't/sort_desc' , get_string ( 'sort' ) ) ; } }
docstring: Gets the direction icon for the sortable field within this table
  
  @param core_renderer $output
  @param string $field
  @return string
docstring_tokens: Gets the direction icon for the sortable field within this table