[ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
PEAR_Exception PHP versions 4 and 5
Author: | Tomas V. V. Cox <cox@idecnet.com> |
Author: | Hans Lellelid <hans@velum.net> |
Author: | Bertrand Mansion <bmansion@mamasam.com> |
Author: | Greg Beaver <cellog@php.net> |
Copyright: | 1997-2006 The PHP Group |
License: | http://www.php.net/license/3_0.txt PHP License 3.0 |
Version: | CVS: $Id: Exception.php,v 1.23 2006/01/06 04:47:36 cellog Exp $ |
Poids: | 376 lignes (13 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PEAR_Exception:: (14 méthodes):
__construct()
addObserver()
removeObserver()
getUniqueId()
signal()
getErrorData()
getCause()
getCauseMessage()
getTraceSafe()
getErrorClass()
getErrorMethod()
__toString()
toHtml()
toText()
Classe: PEAR_Exception - X-Ref
Base PEAR_Exception Class__construct($message, $p2 = null, $p3 = null) X-Ref |
Supported signatures: PEAR_Exception(string $message); PEAR_Exception(string $message, int $code); PEAR_Exception(string $message, Exception $cause); PEAR_Exception(string $message, Exception $cause, int $code); PEAR_Exception(string $message, array $causes); PEAR_Exception(string $message, array $causes, int $code); |
addObserver($callback, $label = 'default') X-Ref |
param: mixed $callback - A valid php callback, see php func is_callable() param: string $label The name of the observer. Use this if you want |
removeObserver($label = 'default') X-Ref |
Pas de description |
getUniqueId() X-Ref |
return: int unique identifier for an observer |
signal() X-Ref |
Pas de description |
getErrorData() X-Ref |
Return specific error information that can be used for more detailed error messages or translation. This method may be overridden in child exception classes in order to add functionality not present in PEAR_Exception and is a placeholder to define API The returned array must be an associative array of parameter => value like so: <pre> array('name' => $name, 'context' => array(...)) </pre> return: array |
getCause() X-Ref |
Returns the exception that caused this exception to be thrown return: Exception|array The context of the exception |
getCauseMessage(&$causes) X-Ref |
Function must be public to call on caused exceptions param: array |
getTraceSafe() X-Ref |
Pas de description |
getErrorClass() X-Ref |
Pas de description |
getErrorMethod() X-Ref |
Pas de description |
__toString() X-Ref |
Pas de description |
toHtml() X-Ref |
Pas de description |
toText() X-Ref |
Pas de description |
Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |