Smarty Compiler

Compiler-Funktionen werden unter lib/smarty/plugins/compiler.COMPILERNAME.php deklariert.

Die Funktion muss so aussehen:

function smarty_compiler_COMPILERNAME ($params, &$smarty) { // code }