Interface SortElementInformationInterface
Interface SortElementInformationInterface.
This interface describes a sort panel element information for sorting by properties.
- DcGeneral\DataDefinition\Definition\View\Panel\SortElementInformationInterface implements DcGeneral\DataDefinition\Definition\View\Panel\ElementInformationInterface
Direct known implementers
DcGeneral\DataDefinition\Definition\View\Panel\DefaultSortElementInformationPackage: DcGeneral\DataDefinition\Definition\View\Panel
Located at DataDefinition/Definition/View/Panel/SortElementInformationInterface.php
public
|
#
setDefaultFlag( integer $flag )
Set the default flag to use when no flag has been defined for a certain property. |
public
integer
|
#
getDefaultFlag( )
Get the default flag to use when no flag has been defined for a certain property. |
public
|
|
public
|
#
hasProperty( string $propertyName )
Determine if the given property has been marked for sorting in the element. |
public
|
#
removeProperty( string $propertyName )
Determine if the given property has been marked for sorting in the element. |
public
string[]
|
|
public
integer
|
getName()
|
integer |
SORTING_FLAG_NONE
|
0 |
#
Do not sort. |
integer |
SORTING_FLAG_FIRST_LETTER_ASCENDING
|
1 |
#
Sort by initial letter ascending. |
integer |
SORTING_FLAG_FIRST_LETTER_DESCENDING
|
2 |
#
Sort by initial letter descending. |
integer |
SORTING_FLAG_TWO_LETTERS_ASCENDING
|
3 |
#
Sort by initial two letters ascending. |
integer |
SORTING_FLAG_TWO_LETTERS_DESCENDING
|
4 |
#
Sort by initial two letters descending. |
integer |
SORTING_FLAG_DATE_DAY_ASCENDING
|
5 |
#
Sort by day ascending. |
integer |
SORTING_FLAG_DATE_DAY_DESCENDING
|
6 |
#
Sort by day descending. |
integer |
SORTING_FLAG_DATE_MONTH_ASCENDING
|
7 |
#
Sort by month ascending. |
integer |
SORTING_FLAG_DATE_MONTH_DESCENDING
|
8 |
#
Sort by month descending. |
integer |
SORTING_FLAG_DATE_YEAR_ASCENDING
|
9 |
#
Sort by year ascending. |
integer |
SORTING_FLAG_DATE_YEAR_DESCENDING
|
10 |
#
Sort by year descending. |
integer |
SORTING_FLAG_ASCENDING
|
11 |
#
Sort ascending. |
integer |
SORTING_FLAG_DESCENDING
|
12 |
#
Sort descending. |