modifiercompiler.noprint.php 431 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Smarty plugin
  4. *
  5. * @package Smarty
  6. * @subpackage PluginsModifierCompiler
  7. */
  8. /**
  9. * Smarty noprint modifier plugin
  10. *
  11. * Type: modifier<br>
  12. * Name: noprint<br>
  13. * Purpose: return an empty string
  14. *
  15. * @author Uwe Tews
  16. * @param array $params parameters
  17. * @return string with compiled code
  18. */
  19. function smarty_modifiercompiler_noprint($params, $compiler)
  20. {
  21. return "''";
  22. }
  23. ?>