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'));
        }
    }
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'));
        }
    }
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' ) ) ; } }
Gets the direction icon for the sortable field within this table

@param core_renderer $output
@param string $field
@return string
Gets the direction icon for the sortable field within this table