/macro/src/filters/htmlspecialchars.filter.php
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
- <?php
- /*
- * Limb PHP Framework
- *
- * @link http://limb-project.com
- * @copyright Copyright © 2004-2009 BIT(http://bit-creative.com)
- * @license LGPL http://www.gnu.org/copyleft/lesser.html
- */
- /**
- * class lmbMacroHtmlSpecialCharsFilter.
- *
- * @filter htmlspecialchars
- * @aliases html
- * @package macro
- * @version $Id$
- */
- class lmbMacroHtmlSpecialCharsFilter extends lmbMacroFunctionBasedFilter
- {
- protected $function = 'htmlspecialchars';
- protected $params = array(ENT_QUOTES);
- }