#include <SortUtils.h>
|
static SORT_METHOD | TranslateOldSortMethod (SortBy sortBy, bool ignoreArticle) |
|
static SortDescription | TranslateOldSortMethod (SORT_METHOD sortBy) |
|
static SortBy | SortMethodFromString (const std::string &sortMethod) |
|
static const std::string & | SortMethodToString (SortBy sortMethod) |
|
static SortOrder | SortOrderFromString (const std::string &sortOrder) |
|
static const std::string & | SortOrderToString (SortOrder sortOrder) |
|
static int | GetSortLabel (SortBy sortBy) |
| retrieve the label id associated with a sort method for displaying in the UI.
|
|
static void | Sort (SortBy sortBy, SortOrder sortOrder, SortAttribute attributes, DatabaseResults &items, int limitEnd=-1, int limitStart=0) |
|
static void | Sort (SortBy sortBy, SortOrder sortOrder, SortAttribute attributes, SortItems &items, int limitEnd=-1, int limitStart=0) |
|
static void | Sort (const SortDescription &sortDescription, DatabaseResults &items) |
|
static void | Sort (const SortDescription &sortDescription, SortItems &items) |
|
static bool | SortFromDataset (const SortDescription &sortDescription, const MediaType &mediaType, const std::unique_ptr< dbiplus::Dataset > &dataset, DatabaseResults &results) |
|
static void | GetFieldsForSQLSort (const MediaType &mediaType, SortBy sortMethod, FieldList &fields) |
|
static const Fields & | GetFieldsForSorting (SortBy sortBy) |
|
static std::string | RemoveArticles (const std::string &label) |
|
◆ Sorter
◆ SorterIndirect
◆ SortPreparator
◆ GetFieldsForSorting()
const Fields & SortUtils::GetFieldsForSorting |
( |
SortBy | sortBy | ) |
|
|
static |
◆ GetFieldsForSQLSort()
◆ GetSortLabel()
retrieve the label id associated with a sort method for displaying in the UI.
- Parameters
-
sortBy | the sort method in question. |
- Returns
- the label id of the sort method.
◆ RemoveArticles()
std::string SortUtils::RemoveArticles |
( |
const std::string & | label | ) |
|
|
static |
◆ Sort() [1/4]
◆ Sort() [2/4]
◆ Sort() [3/4]
◆ Sort() [4/4]
◆ SortFromDataset()
◆ SortMethodFromString()
SortBy SortUtils::SortMethodFromString |
( |
const std::string & | sortMethod | ) |
|
|
static |
◆ SortMethodToString()
const std::string & SortUtils::SortMethodToString |
( |
SortBy | sortMethod | ) |
|
|
static |
◆ SortOrderFromString()
SortOrder SortUtils::SortOrderFromString |
( |
const std::string & | sortOrder | ) |
|
|
static |
◆ SortOrderToString()
const std::string & SortUtils::SortOrderToString |
( |
SortOrder | sortOrder | ) |
|
|
static |
◆ TranslateOldSortMethod() [1/2]
◆ TranslateOldSortMethod() [2/2]
The documentation for this class was generated from the following files: