Function lookupSortKey
Returns a sort field part for querying Note: $sorttype may be a comma separated list of field names. If so, these are peckmarked and returned otherwise unchanged.
string |
$sorttype |
the 'Display" name of the sort |
string |
$default |
the default if $sorttype is empty |
string |
$table |
the database table being used. |
string
|
string |