SortListBuilder
Table of Contents
-
$_pBuilderShort
: FieldsCollectionBuilderShort
-
__construct()
: mixed
-
build()
: SortListDataModel
-
estimateAdjustable()
: bool
-
estimateAdjustableSelectedSortby()
: string
-
estimateAdjustableSelectedSortorder()
: string
-
estimateSortbyDefault()
: string
-
estimateSortByValues()
: array<string|int, mixed>
-
extractDefaultSortBy()
: string
-
extractDefaultSortDirection()
: string
__construct()
public
__construct(FieldsCollectionBuilderShort $pBuilderShort) : mixed
Parameters
-
$pBuilderShort
: FieldsCollectionBuilderShort
-
Return values
mixed
—
build()
public
build(DataListView $pListView) : SortListDataModel
Parameters
-
$pListView
: DataListView
-
-
throws
-
UnknownFieldException
Return values
SortListDataModel
—
estimateAdjustable()
private
estimateAdjustable(int $sortBySetting, array<string|int, mixed> $sortByUserValues) : bool
Parameters
-
$sortBySetting
: int
-
-
$sortByUserValues
: array<string|int, mixed>
-
Return values
bool
—
estimateAdjustableSelectedSortby()
private
estimateAdjustableSelectedSortby(string $default, array<string|int, mixed> $sortbyUserValues) : string
Parameters
-
$default
: string
-
-
$sortbyUserValues
: array<string|int, mixed>
-
Return values
string
—
estimateAdjustableSelectedSortorder()
private
estimateAdjustableSelectedSortorder(string $sortbyDefault) : string
Parameters
-
$sortbyDefault
: string
-
Return values
string
—
estimateSortbyDefault()
private
estimateSortbyDefault(string $sortbyDefault, array<string|int, mixed> $sortByUserValues) : string
Parameters
-
$sortbyDefault
: string
-
-
$sortByUserValues
: array<string|int, mixed>
-
Return values
string
—
estimateSortByValues()
private
estimateSortByValues(array<string|int, mixed> $sortByUserValues) : array<string|int, mixed>
Parameters
-
$sortByUserValues
: array<string|int, mixed>
-
-
throws
-
UnknownFieldException
Return values
array<string|int, mixed>
—
private
extractDefaultSortBy(string $default) : string
Parameters
-
$default
: string
-
Return values
string
—
private
extractDefaultSortDirection(string $default) : string
Parameters
-
$default
: string
-
Return values
string
—