// }}}
// {{{ setErrorHandling()
/**
* Sets how errors generated by this DB object should be handled.
* Can be invoked both in objects and statically. If called
* statically, setErrorHandling sets the default behaviour for all
* PEAR objects. If called in an object, setErrorHandling sets
* the default behaviour for that object.
ok: I can do this in global space
PEAR:: setErrorHandling(....
in a class
I can do this $this->setErrorHandling(... to set it for a specific instance
but I am writing an class that handles the pear error, so now I need to set ErrorHanling for all PEAR enabled object
like setting it globally...
I am correct this is not possible? Can someone plz explain if there is a strategic reason behind this behaviour?
shouldn't PEAR::setErrorHandling(.... set it 'globally' whereever you call it?
Help & insights would be appreciatted
bas