diff options
Diffstat (limited to 'library/Smarty/libs/plugins/modifiercompiler.noprint.php')
-rw-r--r-- | library/Smarty/libs/plugins/modifiercompiler.noprint.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/library/Smarty/libs/plugins/modifiercompiler.noprint.php b/library/Smarty/libs/plugins/modifiercompiler.noprint.php new file mode 100644 index 000000000..3ca26571a --- /dev/null +++ b/library/Smarty/libs/plugins/modifiercompiler.noprint.php @@ -0,0 +1,25 @@ +<?php
+/**
+ * Smarty plugin
+ *
+ * @package Smarty
+ * @subpackage PluginsModifierCompiler
+ */
+
+/**
+ * Smarty noprint modifier plugin
+ *
+ * Type: modifier<br>
+ * Name: noprint<br>
+ * Purpose: return an empty string
+ *
+ * @author Uwe Tews
+ * @param array $params parameters
+ * @return string with compiled code
+ */
+function smarty_modifiercompiler_noprint($params, $compiler)
+{
+ return "''";
+}
+
+?>
\ No newline at end of file |