diff --git a/library/smarty/libs/sysplugins/smarty_internal_parsetree_code.php b/library/smarty/libs/sysplugins/smarty_internal_parsetree_code.php new file mode 100644 --- /dev/null +++ b/library/smarty/libs/sysplugins/smarty_internal_parsetree_code.php @@ -0,0 +1,39 @@ +parser = $parser; + $this->data = $data; + } + + /** + * Return buffer content in parentheses + * + * @return string content + */ + public function to_smarty_php() { + return sprintf("(%s)", $this->data); + } +}