OSDN Git Service

Smartyを3にバージョンアップ
[epgrec/epgrec.git] / Smarty / plugins / modifiercompiler.noprint.php
diff --git a/Smarty/plugins/modifiercompiler.noprint.php b/Smarty/plugins/modifiercompiler.noprint.php
new file mode 100644 (file)
index 0000000..3ca2657
--- /dev/null
@@ -0,0 +1,25 @@
+<?php\r
+/**\r
+ * Smarty plugin\r
+ *\r
+ * @package Smarty\r
+ * @subpackage PluginsModifierCompiler\r
+ */\r
+\r
+/**\r
+ * Smarty noprint modifier plugin\r
+ *\r
+ * Type:     modifier<br>\r
+ * Name:     noprint<br>\r
+ * Purpose:  return an empty string\r
+ *\r
+ * @author   Uwe Tews\r
+ * @param array $params parameters\r
+ * @return string with compiled code\r
+ */\r
+function smarty_modifiercompiler_noprint($params, $compiler)\r
+{\r
+    return "''";\r
+}\r
+\r
+?>
\ No newline at end of file