[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
base include file for SimpleTest
Version: | $Id: errors.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 182 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
SimpleErrorTrappingInvoker:: (2 méthodes):
SimpleErrorTrappingInvoker()
invoke()
SimpleErrorQueue:: (8 méthodes):
SimpleErrorQueue()
add()
extract()
clear()
isEmpty()
instance()
getSeverityAsString()
simpleTestErrorHandler()
Classe: SimpleErrorQueue - X-Ref
Singleton error queue used to record trappedSimpleErrorQueue() X-Ref |
Starts with an empty queue. |
add($severity, $message, $filename, $line, $super_globals) X-Ref |
Adds an error to the front of the queue. param: $severity PHP error code. param: $message Text of error. param: $filename File error occoured in. param: $line Line number of error. param: $super_globals Hash of PHP super global arrays. |
extract() X-Ref |
Pulls the earliest error from the queue. return: False if none, or a list of error |
clear() X-Ref |
Discards the contents of the error queue. |
isEmpty() X-Ref |
Tests to see if the queue is empty. return: True if empty. |
instance() X-Ref |
Global access to a single error queue. return: Global error queue object. |
getSeverityAsString($severity) X-Ref |
Converst an error code into it's string representation. param: $severity PHP integer error code. return: String version of error code. |
simpleTestErrorHandler($severity, $message, $filename, $line, $super_globals) X-Ref |
Error handler that simply stashes any errors into the global error queue. Simulates the existing behaviour with respect to logging errors, but this feature may be removed in future. param: $severity PHP error code. param: $message Text of error. param: $filename File error occoured in. param: $line Line number of error. param: $super_globals Hash of PHP super global arrays. |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |