Commit fd4337ff by sn

D::show() .... gibt nicht mehr das komplette objekt aus, ausser mensch packt 2. parameter im array

1 parent f39aa3e6
Showing with 8 additions and 3 deletions
......@@ -146,6 +146,11 @@ class D {
*/
public static function show($param_val, $param_string="", $param_print=true, $param_force=false, $param_htmlentities=false) {
if(is_array($param_string)) {
$param_string = $param_string[0];
$print_fullobject = true;
}
// self::new_echo("<br>______________________<br>", $param_print, $param_force);
self::printCurrentFunction($param_print,"<br>______________________<br>");
......@@ -170,16 +175,16 @@ class D {
$parents .= ' extends <b>'.$parent.'</b>';
$parent = get_parent_class($parent);
}
$param_val = array(
'classname' => '<b>'.get_class($param_val).'</b>'.$parents,
'objvars' => $objvars,
'objfncs' => $objfncs,
'obj' => $param_val,
);
if($print_fullobject ) {
$param_val['obj'] = $param_val;
}
}
// self::new_echo("<pre>", $param_print, $param_force);
$string_show .= "<pre>";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!