PageRenderTime 52ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/template_engines_bench/libs/smarty-light/src/plugins/modifier.strip_tags.php

https://github.com/limb-php-framework/limb-tools
PHP | 12 lines | 5 code | 0 blank | 7 comment | 0 complexity | 0aafedde68593eaae4c668502d4b0354 MD5 | raw file
Possible License(s): AGPL-1.0, LGPL-2.1
  1. <?php
  2. /**
  3. * Smarty-Light strip_tags modifier plugin
  4. *
  5. * Type: modifier
  6. * Name: strip_tags
  7. * Purpose: Wrapper for the PHP 'strip_tags' function
  8. */
  9. function tpl_modifier_strip_tags($string) {
  10. return strip_tags($string);
  11. }
  12. ?>