PEAR_ErrorStack::setDefaultCallback()

PEAR_ErrorStack::setDefaultCallback()  --  Sets a default callback to be used by all error stacks

Referentiesamenvatting

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::setDefaultCallback ([array|string $callback = FALSE])

Beschrijving

This method sets the callback that can be used to generate error messages for a singleton

Parameter

array|string $callback

Callback function/method

Throws

No exceptions thrown.

Note

Deze functie zou statisch moeten worden aangeroepen.