|
typedef std::string(* | SortPreparator) (SortAttribute, const SortItem &) |
|
typedef bool(* | Sorter) (const DatabaseResult &, const DatabaseResult &) |
|
typedef bool(* | SorterIndirect) (const SortItemPtr &, const SortItemPtr &) |
|
|
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. More...
|
|
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) |
|
◆ GetSortLabel()
int SortUtils::GetSortLabel |
( |
SortBy |
sortBy | ) |
|
|
static |
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.
The documentation for this class was generated from the following files: