Méthode |
Description |
|
__construct ( Config $config ) |
|
|
getBestSortFlags ( DataTable $table, string | integer $columnToSort ) : integer |
|
|
getPrimaryColumnToSort ( DataTable $table, string | integer $columnToSort ) : integer |
Detect the column to be used for sorting |
|
getPrimarySortOrder ( string $order ) : integer |
|
|
getSecondaryColumnToSort ( Row $row, integer | string $primaryColumnToSort ) : integer |
Detect the secondary sort column to be used for sorting |
|
getSecondarySortOrder ( string $order, string | integer $secondarySortColumn ) : integer |
|
|
sort ( DataTable $table ) |
Sorts the DataTable rows using the supplied callback function. |
|