public static function output($id, $string, $type = "log") { print_r($registeredClasses); //--------------------------------------------------------- //init var //--------------------------------------------------------- $i; $obj; $functionName; //--------------------------------------------------------- foreach (Trace::$registeredClasses as $obj) { if ($obj['id'] == $id && !Trace::$isolated) { if ($obj['_parentClass'] != NULL) { if ($obj['_parentClass']->traceID != NULL) { Trace::traceFunction($obj['id'], $string, $type); } } else { //echo $string; //echo $id; Trace::traceFunction($obj['id'], $string, $type); } break; } //if ($obj['id'] == $id && Trace::$isolatedClasses_CHK($id) && Trace::$isolated) { // Trace::traceFunction($obj['id'],$string, $type, $_alert); // break; //} } if (!Trace::$chkOnlyRegistered) { Trace::traceFunction($id, $string, $type); } }