KumbiaPHP beta2-dev
Framework PHP en español
|
00001 <?php 00023 class HtmlspecialcharsFilter implements FilterInterface 00024 { 00032 public static function execute ($s, $options) 00033 { 00034 $charset = (isset($options['charset']) && $options['charset']) ? $options['charset'] : APP_CHARSET; 00035 return htmlspecialchars((string) $s, ENT_QUOTES, $charset); 00036 } 00037 }