Class DefaultSortElementInformation
Class DefaultSortElementInformation.
Default implementation of a sort definition on properties.
- DcGeneral\DataDefinition\Definition\View\Panel\DefaultSortElementInformation implements DcGeneral\DataDefinition\Definition\View\Panel\SortElementInformationInterface
Namespace: DcGeneral\DataDefinition\Definition\View\Panel
Package: DcGeneral\DataDefinition\Definition\View\Panel
Located at DataDefinition/Definition/View/Panel/DefaultSortElementInformation.php
Package: DcGeneral\DataDefinition\Definition\View\Panel
Located at DataDefinition/Definition/View/Panel/DefaultSortElementInformation.php
public
string
|
|
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
|
protected
array
|
$properties | array() |
#
The names of the properties to be sortable. |
protected
string
|
$defaultFlag |
|
#
The sorting flag to use by default. |