Function __global->get_forum_sort_order
Definitions
sources/cns_forumview.php
- Get the active forum sort order from a URL specifier.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$_sort | string | first_post | N/A | N/A | Sort order keyword |
$simplified | boolean | False | N/A | N/A | Whether to not include pinning etc in the order |
Return
- A tuple: Sort order in SQL form, keyset pagination field pattern, keyset pagination field
- Type: array
- Set: N/A
- Range: N/A