PageRenderTime 48ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/macro/src/filters/htmlspecialchars.filter.php

http://github.com/limb-php-framework/limb
PHP | 22 lines | 6 code | 1 blank | 15 comment | 0 complexity | 0943bee3a7a8d8ab58ee5cae9cf6b398 MD5 | raw file
Possible License(s): LGPL-2.1, AGPL-3.0, MPL-2.0-no-copyleft-exception, GPL-2.0
  1. <?php
  2. /*
  3. * Limb PHP Framework
  4. *
  5. * @link http://limb-project.com
  6. * @copyright Copyright &copy; 2004-2009 BIT(http://bit-creative.com)
  7. * @license LGPL http://www.gnu.org/copyleft/lesser.html
  8. */
  9. /**
  10. * class lmbMacroHtmlSpecialCharsFilter.
  11. *
  12. * @filter htmlspecialchars
  13. * @aliases html
  14. * @package macro
  15. * @version $Id$
  16. */
  17. class lmbMacroHtmlSpecialCharsFilter extends lmbMacroFunctionBasedFilter
  18. {
  19. protected $function = 'htmlspecialchars';
  20. protected $params = array(ENT_QUOTES);
  21. }