cvs: smarty / NEWS /libs/plugins modifier.debug_print_var.php
| From: | Messju Mohr | Date: | Thu, 27 Mar 2003 22:10:00 +0000 |
| Subject: | cvs: smarty / NEWS /libs/plugins modifier.debug_print_var.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-500@lists.php.net to get a copy of this message | ||
messju Thu Mar 27 17:10:00 2003 EDT
Modified files:
/smarty NEWS
/smarty/libs/plugins modifier.debug_print_var.php
Log:
$length is now propagated to sub-values in debug_print_var
Index: smarty/NEWS
diff -u smarty/NEWS:1.329 smarty/NEWS:1.330
--- smarty/NEWS:1.329 Wed Mar 26 14:06:51 2003
+++ smarty/NEWS Thu Mar 27 17:10:00 2003
@@ -1,3 +1,5 @@
+ - $length is now propagated to sub-values in debug_print_var (messju)
+
Version 2.5.0-RC2 (March 26, 2003)
----------------------------------
Index: smarty/libs/plugins/modifier.debug_print_var.php
diff -u smarty/libs/plugins/modifier.debug_print_var.php:1.4
smarty/libs/plugins/modifier.debug_print_var.php:1.5
--- smarty/libs/plugins/modifier.debug_print_var.php:1.4 Thu Dec 12 12:39:33 2002
+++ smarty/libs/plugins/modifier.debug_print_var.php Thu Mar 27 17:10:00 2003
@@ -13,7 +13,7 @@
if (is_array($var)) {
$results = "<b>Array (".count($var).")</b>";
foreach ($var as $curr_key => $curr_val) {
- $return = smarty_modifier_debug_print_var($curr_val, $depth+1);
+ $return = smarty_modifier_debug_print_var($curr_val, $depth+1, $length);
$results .= '<br>\r'.str_repeat(' ',
$depth*2)."<b>$curr_key</b> => $return";
}
return $results;
@@ -21,7 +21,7 @@
$object_vars = get_object_vars($var);
$results = "<b>".get_class($var)." Object
(".count($object_vars).")</b>";
foreach ($object_vars as $curr_key => $curr_val) {
- $return = smarty_modifier_debug_print_var($curr_val, $depth+1);
+ $return = smarty_modifier_debug_print_var($curr_val, $depth+1, $length);
$results .= '<br>\r'.str_repeat(' ',
$depth*2)."<b>$curr_key</b> => $return";
}
return $results;