Function __global->_url_rewrite_params

Definitions

sources/urls.php

  • Attempt to use a URL Scheme to improve this URL.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$zone_name ID_TEXT No No required parameter N/A N/A The name of the zone for this
$parameters array No No required parameter N/A N/A A map of parameters to include in our URL

Returns

  • The improved URL (null: couldn't do anything)
  • Type: ?URLPATH
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Attempt to use a URL Scheme to improve this URL.
 *
 * @param  ID_TEXT $zone_name The name of the zone for this
 * @param  array $parameters A map of parameters to include in our URL
 * @return ?URLPATH The improved URL (null: couldn't do anything)
 */

function _url_rewrite_params(string $zone_name, array $parameters) : ?string