class SortHelper (View source)

Methods

static string
getZoneSortOrder(string $table, string $dbType, string $direction = 'ASC')

Get the zone sort order based on the database type.

static string
getRecordSortOrder(string $table, string $dbType, string $direction = 'ASC')

Get the record sort order based on the database type.

Details

static string getZoneSortOrder(string $table, string $dbType, string $direction = 'ASC')

Get the zone sort order based on the database type.

Parameters

string $table
string $dbType
string $direction

Return Value

string

static string getRecordSortOrder(string $table, string $dbType, string $direction = 'ASC')

Get the record sort order based on the database type.

Parameters

string $table
string $dbType
string $direction

Return Value

string