Function Tempcode->_mark_all_as_escaped

Definitions

sources/tempcode.php

  • Recursively mark all parameters in this Tempcode as escaped. This is needed when loading from cache, as escape tainting data would have been lost.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$top_level boolean No No True N/A N/A Whether this is the top-level call

Preview

Code (PHP)

/**
 * Recursively mark all parameters in this Tempcode as escaped. This is needed when loading from cache, as escape tainting data would have been lost.
 *
 * @param  boolean $top_level Whether this is the top-level call
 */

protected function _mark_all_as_escaped(bool $top_level = true)