| [ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
Information and debugging functions
| Author: | Andreas Gohr |
| License: | GPL 2 (http://www.gnu.org/licenses/gpl.html) |
| File Size: | 335 lines (9 kb) |
| Included or required: | 2 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file inc/HTTPClient.php |
| checkUpdateMessages() X-Ref |
| Check for new messages from upstream author: Andreas Gohr <andi@splitbrain.org> |
| getVersion() X-Ref |
| Return DokuWikis version author: Andreas Gohr <andi@splitbrain.org> |
| check() X-Ref |
| Run a few sanity checks author: Andreas Gohr <andi@splitbrain.org> |
| msg($message,$lvl=0,$line='',$file='') X-Ref |
| print a message If HTTP headers were not sent yet the message is added to the global message array else it's printed directly using html_msgarea() Levels can be: -1 error 0 info 1 success author: Andreas Gohr <andi@splitbrain.org> see: html_msgarea |
| dbg($msg,$hidden=false) X-Ref |
| print debug messages little function to print the content of a var author: Andreas Gohr <andi@splitbrain.org> |
| dbglog($msg) X-Ref |
| Print info to a log file author: Andreas Gohr <andi@splitbrain.org> |
| dbg_backtrace() X-Ref |
| Print a reversed, prettyprinted backtrace author: Gary Owen <gary_owen@bigfoot.com> |
| debug_guard(&$data) X-Ref |
| Remove all data from an array where the key seems to point to sensitive data This is used to remove passwords, mail addresses and similar data from the debug output author: Andreas Gohr <andi@splitbrain.org> |
| Generated: Tue Dec 2 01:30:01 2008 | Cross-referenced by PHPXref 0.7 |