Function __global->read_abstract_sorting_params

Definitions

sources/content.php

  • Clean up and verify URL sort parameters.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$_url_sort string required parameter N/A N/A The URL sort string
$allowed_sorts ?array required parameter N/A N/A List of allowed sort types (null: don't check)
$strict_error boolean True N/A N/A Provide a hack-attack error on invalid input

Return

  • A pair: The URL-style sort order, The URL-style sort direction
  • Type: array
  • Set: N/A
  • Range: N/A