This is the code documentation for the Pelzini project

function param_replace()

Replaces params in strings

Replacements can be in the following forms:
  Does a replacement with a named parameter, PARAM, specified in any case

  Does a replacement with SINGLE if PARAM (any case) is 1, and with MULTIPLE if PARAM is anything else

  Adds a new line to the output

  Returns the specified parameter, urlencode()ed.

  Returns the specified parameter, htmlspecialchars()ed.


string param_replace ( string $str );



  1. string $str
    The string to do replacements to

Return value

  • string
    The replaced string