commit cc00b12c6eb09c0d30b29c45a06e79c6acf606be parent 95663e64f14bbac090a5c3e82dfeaf899b7874ee Author: dankert <devnull@localhost> Date: Sun, 26 Nov 2006 22:57:41 +0100 Neue Methode "debug()" Diffstat:
serviceClasses/Html.class.php | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/serviceClasses/Html.class.php b/serviceClasses/Html.class.php @@ -144,6 +144,18 @@ class Html } + + /** + * Ausgabe eines Variablenwertes.<br> + */ + function debug( $wert, $text='' ) + { + echo "<strong>DEBUG: $text (".gettype($wert).")</strong><br/>"; + echo "<pre>"; + print_r($wert); + echo "</pre>"; + } + /** * Erzeugt eine relative Url innerhalb von Openrat