Function __global->_protect_url_parameter

Definitions

sources/urls.php

  • Low-level implementation of protect_url_parameter.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$parameter mixed No No required parameter N/A N/A Non-encoded parameter (Tempcode, string, or null)

Returns

  • Encoded parameter (null: null input pipe-through)
  • Type: ?string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Low-level implementation of protect_url_parameter.
 *
 * @param  mixed $parameter Non-encoded parameter (Tempcode, string, or null)
 * @return ?string Encoded parameter (null: null input pipe-through)
 */

function _protect_url_parameter($parameter) : ?string