Function __global->_build_pagination_cat_url

Definitions

sources/templates_pagination.php

  • Helper function to work out a pagination URL.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$url_array array No No required parameter N/A N/A Map of GET array segments to use (others will be added by this function)
$post_array array No No required parameter N/A N/A Map of POST array segments (relayed as GET) to use
$hash ID_TEXT No No required parameter N/A N/A Hash component to URL

Returns

  • The URL
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Helper function to work out a pagination URL.
 *
 * @param  array $url_array Map of GET array segments to use (others will be added by this function)
 * @param  array $post_array Map of POST array segments (relayed as GET) to use
 * @param  ID_TEXT $hash Hash component to URL
 * @return mixed The URL
 */

function _build_pagination_cat_url(array $url_array, array $post_array, string $hash)