[ Index ] |
|
Code source de XOOPS 2.0.17.1 |
[Code source] [Imprimer] [Statistiques]
XoopsLogger component main class file See the enclosed file LICENSE for licensing information. If you did not receive this file, get it at http://www.fsf.org/copyleft/gpl.html
Author: | Kazumi Ono <onokazu@xoops.org> |
Author: | Skalpa Keo <skalpa@xoops.org> |
Copyright: | The XOOPS project http://www.xoops.org/ |
License: | http://www.fsf.org/copyleft/gpl.html GNU public license |
Version: | $Id: logger.php 694 2006-09-04 11:33:22Z skalpa $ |
Poids: | 232 lignes (7 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
XoopsLogger:: (19 méthodes):
XoopsLogger()
instance()
enableRendering()
microtime()
startTime()
stopTime()
addQuery()
addBlock()
addExtra()
handleError()
sanitizePath()
render()
dump()
dumpTime()
dumpAll()
dumpBlocks()
dumpExtra()
dumpQueries()
XoopsErrorHandler_HandleError()
Classe: XoopsLogger - X-Ref
Collects information for a page requestXoopsLogger() X-Ref |
Pas de description |
instance() X-Ref |
Get a reference to the only instance of this class return: object XoopsLogger reference to the only instance |
enableRendering() X-Ref |
Enable logger output rendering When output rendering is enabled, the logger will insert its output within the page content. If the string <!--{xo-logger-output}--> is found in the page content, the logger output will replace it, otherwise it will be inserted after all the page output. |
microtime() X-Ref |
Returns the current microtime in seconds. return: float |
startTime($name = 'XOOPS') X-Ref |
Start a timer param: string $name name of the timer |
stopTime($name = 'XOOPS') X-Ref |
Stop a timer param: string $name name of the timer |
addQuery($sql, $error=null, $errno=null) X-Ref |
Log a database query param: string $sql SQL string param: string $error error message (if any) param: int $errno error number (if any) |
addBlock($name, $cached = false, $cachetime = 0) X-Ref |
Log display of a block param: string $name name of the block param: bool $cached was the block cached? param: int $cachetime cachetime of the block |
addExtra($name, $msg) X-Ref |
Log extra information param: string $name name for the entry param: int $msg text message for the entry |
handleError( $errno, $errstr, $errfile, $errline ) X-Ref |
Error handling callback (called by the zend engine) |
sanitizePath( $path ) X-Ref |
render( $output ) X-Ref |
Output buffering callback inserting logger dump in page output |
dump( $mode = '' ) X-Ref |
Pas de description |
dumpTime( $name = 'XOOPS' ) X-Ref |
get the current execution time of a timer param: string $name name of the counter return: float current execution time of the counter |
dumpAll() X-Ref |
Pas de description |
dumpBlocks() X-Ref |
Pas de description |
dumpExtra() X-Ref |
Pas de description |
dumpQueries() X-Ref |
Pas de description |
XoopsErrorHandler_HandleError( $errNo, $errStr, $errFile, $errLine, $errContext = null ) X-Ref |
Pas de description |
Généré le : Sun Nov 25 11:44:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |