PEAR_ErrorStack
[ class tree: PEAR_ErrorStack ] [ index: PEAR_ErrorStack ] [ all elements ]

Element index for package PEAR_ErrorStack

[ e ] [ g ] [ h ] [ p ] [ r ] [ s ] [ _ ]

_

$_contextCallback
in file ErrorStack.php, variable PEAR_ErrorStack::$_contextCallback
    If set to a valid callback, this will be used to generate the error
$_errorCallback
in file ErrorStack.php, variable PEAR_ErrorStack::$_errorCallback
    If set to a valid callback, this will be called every time an error is pushed onto the stack. The return value will be used to determine whether to allow an error to be pushed or logged.
$_logger
in file ErrorStack.php, variable PEAR_ErrorStack::$_logger
    PEAR::Log object for logging errors
$_package
in file ErrorStack.php, variable PEAR_ErrorStack::$_package
    Package name this error stack represents
_log
in file ErrorStack.php, method PEAR_ErrorStack::_log()
    Log an error using PEAR::Log
_sortErrors
in file ErrorStack.php, method PEAR_ErrorStack::_sortErrors()
    Error sorting function, sorts by time
__construct
in file ErrorStack.php, method PEAR_ErrorStack::__construct()
    Set up a new error stack
top

e

ErrorStack.php
procedural page ErrorStack.php
top

g

getErrorMessage
in file ErrorStack.php, method PEAR_ErrorStack::getErrorMessage()
    Standard error message generation callback
getErrorMessageTemplate
in file ErrorStack.php, method PEAR_ErrorStack::getErrorMessageTemplate()
    Standard Error Message Template generator from code
getErrors
in file ErrorStack.php, method PEAR_ErrorStack::getErrors()
    Retrieve all errors since last purge
getFileLine
in file ErrorStack.php, method PEAR_ErrorStack::getFileLine()
    Standard file/line number/function/class context callback
getMessageCallback
in file ErrorStack.php, method PEAR_ErrorStack::getMessageCallback()
    Get an error code => error message mapping callback
top

h

hasErrors
in file ErrorStack.php, method PEAR_ErrorStack::hasErrors()
    Determine whether there are any errors on the stack
top

p

PEAR_ErrorStack
in file ErrorStack.php, class PEAR_ErrorStack
    Error Stack Implementation
PEAR_ERRORSTACK_DIE
in file ErrorStack.php, constant PEAR_ERRORSTACK_DIE
    If this is returned, then the error is logged and die() is called.
PEAR_ERRORSTACK_ERR_NONCLASS
in file ErrorStack.php, constant PEAR_ERRORSTACK_ERR_NONCLASS
    Error code for an attempt to instantiate a non-class as a PEAR_ErrorStack in the singleton method.
PEAR_ERRORSTACK_ERR_OBJTOSTRING
in file ErrorStack.php, constant PEAR_ERRORSTACK_ERR_OBJTOSTRING
    Error code for an attempt to pass an object into PEAR_ErrorStack::getMessage()
PEAR_ERRORSTACK_IGNORE
in file ErrorStack.php, constant PEAR_ERRORSTACK_IGNORE
    If this is returned, then the error is completely ignored.
PEAR_ERRORSTACK_LOG
in file ErrorStack.php, constant PEAR_ERRORSTACK_LOG
    If this is returned, then the error will only be logged, but not pushed onto the error stack.
PEAR_ERRORSTACK_PUSH
in file ErrorStack.php, constant PEAR_ERRORSTACK_PUSH
    If this is returned, then the error will only be pushed onto the stack, and not logged.
PEAR_ERRORSTACK_PUSHANDLOG
in file ErrorStack.php, constant PEAR_ERRORSTACK_PUSHANDLOG
    If this is returned, then the error will be both pushed onto the stack and logged.
pop
in file ErrorStack.php, method PEAR_ErrorStack::pop()
    Pop an error off of the error stack
popCallback
in file ErrorStack.php, method PEAR_ErrorStack::popCallback()
    Remove a callback from the error callback stack
push
in file ErrorStack.php, method PEAR_ErrorStack::push()
    Add an error to the stack
pushCallback
in file ErrorStack.php, method PEAR_ErrorStack::pushCallback()
    Set an error Callback If set to a valid callback, this will be called every time an error is pushed onto the stack. The return value will be used to determine whether to allow an error to be pushed or logged.
top

r

raiseError
in file ErrorStack.php, method PEAR_ErrorStack::raiseError()
    emulate PEAR::raiseError()
top

s

setContextCallback
in file ErrorStack.php, method PEAR_ErrorStack::setContextCallback()
    Set a callback that generates context information (location of error) for an error stack
setDefaultCallback
in file ErrorStack.php, method PEAR_ErrorStack::setDefaultCallback()
    Sets a default callback to be used by all error stacks
setDefaultLogger
in file ErrorStack.php, method PEAR_ErrorStack::setDefaultLogger()
    Set up a PEAR::Log object for all error stacks that don't have one
setErrorMessageTemplate
in file ErrorStack.php, method PEAR_ErrorStack::setErrorMessageTemplate()
    Set the Error Message Template array
setLogger
in file ErrorStack.php, method PEAR_ErrorStack::setLogger()
    Set up a PEAR::Log object for this error stack
setMessageCallback
in file ErrorStack.php, method PEAR_ErrorStack::setMessageCallback()
    Set an error code => error message mapping callback
singleton
in file ErrorStack.php, method PEAR_ErrorStack::singleton()
    Return a single error stack for this package.
staticGetErrors
in file ErrorStack.php, method PEAR_ErrorStack::staticGetErrors()
    Get a list of all errors since last purge, organized by package
staticHasErrors
in file ErrorStack.php, method PEAR_ErrorStack::staticHasErrors()
    Determine whether there are any errors on a single error stack, or on any error stack
staticPop
in file ErrorStack.php, method PEAR_ErrorStack::staticPop()
    Pop an error off of the error stack, static method
staticPopCallback
in file ErrorStack.php, method PEAR_ErrorStack::staticPopCallback()
    Remove a temporary overriding error callback
staticPush
in file ErrorStack.php, method PEAR_ErrorStack::staticPush()
    Static version of push()
staticPushCallback
in file ErrorStack.php, method PEAR_ErrorStack::staticPushCallback()
    Set a temporary overriding error callback for every package error stack
top

Documentation generated on Sun, 19 Apr 2020 14:22:11 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.