[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/inc/ -> infoutils.php (sommaire)

Information and debugging functions

Author: Andreas Gohr <andi@splitbrain.org>
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
Poids: 249 lignes (7 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 inc/HTTPClient.php

Définit 6 fonctions

  checkUpdateMessages()
  getVersion()
  check()
  msg()
  dbg()
  dbglog()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

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>

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>



Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7