Function __global->protect_from_escaping

Definitions

sources/lang.php

  • Stop some text being escapable by the Tempcode layer.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$in mixed No No required parameter N/A N/A Text

Returns

  • Text that can't be escaped
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Stop some text being escapable by the Tempcode layer.
 *
 * @param  mixed $in Text
 * @return Tempcode Text that can't be escaped
 */

function protect_from_escaping($in) : object