PEAR_ErrorStack::raiseError (Previous) (Next) PEAR_ErrorStack::setDefaultCallback

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_ErrorStack::setContextCallback()

PEAR_ErrorStack::setContextCallback()  --  Définit un callback qui génère les informations de contexte (localisation de l'erreur) pour une pile d'erreur

Description

Cette méthode définit le callback qui sera utilisé pour générer les informations de contexte pour une erreur. Passer NULL désactivera la génération du contexte et effacera l'appel expensif à la fonction debug_backtrace().

Paramètres

mixed $contextCallback

Un callback valide comme définit par is_callable() .

Valeurs renvoyées

Aucune exception n'est lancée.

Note

Cette fonction ne peut pas être appelée de façon statique.

PEAR_ErrorStack::raiseError (Previous) (Next) PEAR_ErrorStack::setDefaultCallback

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.