Function __global->results_sorter
Definitions
sources/templates_results_table.php
- Get the Tempcode for a results sorter.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$sortables | array | required parameter | N/A | N/A | A map of sortable code (usually, db field names), to strings giving the human name for the sort order or a pair of such and which direction to limit to |
$sortable | ?ID_TEXT | Null | N/A | N/A | The current sortable (null: none) |
$sort_order | ?ID_TEXT | Null | N/A | N/A | The order we are sorting in (null: none) |
$sort_name | ?ID_TEXT | sort | N/A | N/A | The parameter name used to store our sortable (usually 'sort') (null: none) |
$hash | ?ID_TEXT | Blank (empty string) | N/A | N/A | URL hash component without the # (null: none) |
Return
- The results sorter
- Type: Tempcode
- Set: N/A
- Range: N/A