diff options
author | Urban Müller | 2007-09-30 20:12:17 +0000 |
---|---|---|
committer | Urban Müller | 2007-09-30 20:12:17 +0000 |
commit | 4851331162f13834a2ec356a2f81ff694cb91513 (patch) | |
tree | dc9cdc184d5cd9a934072228e6aabfd6f19c22c6 | |
parent | 52bd3236b60c12d3e164b22355d9a48b9aa69417 (diff) | |
download | itools-4851331162f13834a2ec356a2f81ff694cb91513.tar.gz itools-4851331162f13834a2ec356a2f81ff694cb91513.tar.bz2 itools-4851331162f13834a2ec356a2f81ff694cb91513.zip |
it_debug docs
-rw-r--r-- | auto_prepend.php | 3 | ||||
-rw-r--r-- | it_debug.class | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/auto_prepend.php b/auto_prepend.php index da31810..c1871f2 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -56,7 +56,8 @@ function ED() } /** - * Same as ED(), but first argument is string that must be in $_REQUEST['debug'] + * Same as ED(), but if first argument is foo then $GLOBALS['debug_foo'] must be set for output + * @return boolean indicating whether $GLOBALS['debug_foo'] was set */ function EDC() { diff --git a/it_debug.class b/it_debug.class index 5069185..e654851 100644 --- a/it_debug.class +++ b/it_debug.class @@ -127,6 +127,10 @@ function dump($args) return "$r\n"; } +/** + * Print short stackdump + * @param $skip number of stack levels to omip + */ function backtrace($skip = 0) { $result = array(); |