API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsErrorHandler Class Reference
Inheritance diagram for XoopsErrorHandler:
Collaboration diagram for XoopsErrorHandler:

Public Member Functions

 activate ($showErrors=false)
 
 renderErrors ()
 
- Public Member Functions inherited from XoopsLogger
 __construct ()
 
 instance ()
 
 enableRendering ()
 
 microtime ()
 
 startTime ($name='XOOPS')
 
 stopTime ($name='XOOPS')
 
 addQuery ($sql, $error=null, $errno=null, $query_time=null)
 
 addBlock ($name, $cached=false, $cachetime=0)
 
 addExtra ($name, $msg)
 
 addDeprecated ($msg)
 
 handleError ($errno, $errstr, $errfile, $errline)
 
 handleException ($e)
 
 sanitizePath ($path)
 
 render ($output)
 
 dump ($mode='')
 
 dumpTime ($name='XOOPS', $unset=false)
 
 triggerError ($errkey=0, $errStr='', $errFile='', $errLine='', $errNo=0)
 
 dumpAll ()
 
 dumpBlocks ()
 
 dumpExtra ()
 
 dumpQueries ()
 

Additional Inherited Members

- Static Public Member Functions inherited from XoopsLogger
static getInstance ()
 
- Data Fields inherited from XoopsLogger
 $queries = array()
 
 $blocks = array()
 
 $extra = array()
 
 $logstart = array()
 
 $logend = array()
 
 $errors = array()
 
 $deprecated = array()
 
 $usePopup = false
 
 $activated = true
 
 $renderingEnabled = false
 
- Protected Member Functions inherited from XoopsLogger
 isThrowable ($e)
 

Member Function Documentation

◆ activate()

activate (   $showErrors = false)

Activate the error handler

Parameters
bool$showErrors

◆ renderErrors()

renderErrors ( )

Render the list of errors

Here is the call graph for this function:

The documentation for this class was generated from the following file: