--- nfo/php/libs/net.php.smarty/plugins/function.assign_debug_info.php 2002/10/09 00:53:36 1.1
+++ nfo/php/libs/net.php.smarty/plugins/function.assign_debug_info.php 2004/06/16 21:58:16 1.2
@@ -1,12 +1,19 @@
+ * Name: assign_debug_info
+ * Purpose: assign debug info to the template
+ * @param array unused in this plugin, this plugin uses {@link Smarty::$_config},
+ * {@link Smarty::$_tpl_vars} and {@link Smarty::$_smarty_debug_info}
+ * @param Smarty
*/
function smarty_function_assign_debug_info($params, &$smarty)
{
@@ -17,7 +24,7 @@
ksort($config_vars);
$smarty->assign("_debug_config_keys", array_keys($config_vars));
$smarty->assign("_debug_config_vals", array_values($config_vars));
- }
+ }
$included_templates = $smarty->_smarty_debug_info;