/class/error.class.php

Description

error.class.php

This contains the custom error handler for SquirrelMail.

Classes
Class Description
ErrorHandler Error Handler class
Constants
E_STRICT = 2048 (line 21)
SQM_ERROR = 2 (line 17)
SQM_NOTICE = 0 (line 15)

Used defines

SQM_STRICT = 3 (line 18)
SQM_WARNING = 1 (line 16)
Functions
sqm_trigger_error (line 326)

Trigger an error.

  • since: 1.5.1
  • author: Marc Groot Koerkamp
void sqm_trigger_error (string $sErrNo, [array $aExtra = array()])
  • string $sErrNo: error string defined in errors.php
  • array $aExtra: optional associative array with extra error info
sqm_trigger_imap_error (line 309)

Triggers an imap error. Utility function for sqm_trigger_error()

  • since: 1.5.1
  • author: Marc Groot Koerkamp
void sqm_trigger_imap_error (string $sErrNo, string $sRequest, string $sResponse, string $sMessage, [array $aExtra = array()])
  • string $sErrNo: error string defined in errors.php
  • string $sRequest: imap request string
  • string $sResponse: tagged imap response
  • string $sMessage: tagged imap response message
  • array $aExtra: optional associative array with extra error info
SquirrelMailErrorhandler (line 289)

Custom Error handler for PHP version < 4.3.0 (set with set_error_handler() )

  • since: 1.5.1
  • author: Marc Groot Koerkamp
void SquirrelMailErrorhandler ( $iErrNo,  $sErrStr,  $sErrFile,  $iErrLine,  $aContext)
  • $iErrNo
  • $sErrStr
  • $sErrFile
  • $iErrLine
  • $aContext

Documentation generated on Sat, 07 Oct 2006 16:10:46 +0300 by phpDocumentor 1.3.0RC6