/libs/plugins/modifier.escape.php

Description

Smarty plugin

Functions
smarty_modifier_escape (line 24)

Smarty escape modifier plugin

Type: modifier
Name: escape
Purpose: escape string for output

string smarty_modifier_escape (string $string, [string $esc_type = 'html'], [string $char_set = null], [boolean $double_encode = true])
  • string $string: input string
  • string $esc_type: escape type
  • string $char_set: character set, used for htmlspecialchars() or htmlentities()
  • boolean $double_encode: encode already encoded entitites again, used for htmlspecialchars() or htmlentities()

Documentation generated on Sat, 24 Sep 2011 20:23:13 +0200 by phpDocumentor 1.4.1