Function Module_galleries->get_sort_order

Definitions

site/pages/modules/galleries.php

  • Read in the sort order currently active, and a suffix to the select statement to allow it to work. Apply security.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Returns

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

Preview

Code (PHP)

/**
 * Read in the sort order currently active, and a suffix to the select statement to allow it to work. Apply security.
 *
 * @return array A pair: The URL-style sort order, The URL-style sort direction
 */

protected function get_sort_order() : array