- added plugin type modifiercompiler to produce compiled modifier code

- changed standard modifier plugins to the compiling versions whenever possible
This commit is contained in:
Uwe.Tews
2010-08-05 17:50:16 +00:00
parent 254c9e6c53
commit 08874b0965
28 changed files with 493 additions and 444 deletions

View File

@@ -0,0 +1,24 @@
<?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 "''";
}
?>