Function HarmlessURLCoder->encode

Definitions

sources/urls_simplifier.php

  • URL-encode a string (whole or partial URL) to be valid.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$str string required parameter N/A N/A The input string

Return

  • The encoded string
  • Type: string
  • Set: N/A
  • Range: N/A