SortDefaultTrait
Table of Contents
Constants
- SORT_DEFAULT = 'sortDefault'
- The 'sortDefault' parameter.
Properties
- $sortDefault : string|null
- The default sort definition.
Methods
- initializeSortDefault() : static
- Initialize the sort behavior with an associative array definition.
Constants
SORT_DEFAULT
The 'sortDefault' parameter.
public
mixed
SORT_DEFAULT
= 'sortDefault'
Properties
$sortDefault
The default sort definition.
public
string|null
$sortDefault
= null
Methods
initializeSortDefault()
Initialize the sort behavior with an associative array definition.
public
initializeSortDefault([array<string|int, mixed> $init = [] ][, string|null $defaultValue = null ]) : static
Parameters
- $init : array<string|int, mixed> = []
- $defaultValue : string|null = null