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}
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 Mon, 25 Jun 2007 14:02:24 -0400 by phpDocumentor 1.3.2. PEAR Logo Copyright © PHP Group 2004.
|