Source for file function.eval.php
Documentation is available at function.eval.php
* Smarty {eval} function plugin
* Purpose: evaluate a template variable as a template<br>
* @link http://smarty.php.net/manual/en/language.function.eval.php {eval}
* @author Monte Ohrt <monte at ohrt dot com>
if (!isset
($params['var'])) {
if($params['var'] ==
'') {
$smarty->_compile_source('evaluated template', $params['var'], $_var_compiled);
$smarty->_eval('?>' .
$_var_compiled);
if (!empty($params['assign'])) {
$smarty->assign($params['assign'], $_contents);
/* vim: set expandtab: */
Documentation generated on Sun, 09 Mar 2008 23:51:56 -0300 by phpDocumentor 1.4.0