previousPEAR_ErrorStack::push (Previous) (Next) PEAR_ErrorStack::raiseErrornext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_ErrorStack::pushCallback

PEAR_ErrorStack::pushCallback() – Fija un Callback de Error. Si se fija un callback válido, será llamado cada vez que se coloque un error en el stack. El valor devuelto será empleado para determinar cuando permitir que un error sea añadido o logueado.

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::pushCallback ( string|array $cb )

Description

El valor devuelto debe ser una de las constantes PEAR_ERRORSTACK_* .

Esta funcionalidad puede emplearse para emular el método de PEAR pushErrorHandling, y el modo PEAR_ERROR_CALLBACK, sin afectar la integridad de la pila de error o el logueado

Parameter

string|array $cb

Throws

throws no se lanza ninguna excepción

Note

This function can not be called statically.

previousPEAR_ErrorStack::push (Previous) (Next) PEAR_ErrorStack::raiseErrornext

Download Documentation Last updated: Sun, 18 Oct 2009
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.