compiler = $compiler; // check and get attributes $_attr = $this->_get_attributes($args); $saved_attr = $this->_close_tag(array('capture')); $_output = "assign($saved_attr[1], ob_get_contents());"; } $_output .= " \$_smarty_tpl->smarty->_smarty_vars['capture'][$saved_attr[0]]=ob_get_contents();"; $_output .= " ob_clean(); ?>\n"; return $_output; } } ?>