Code Comments
Programming Forum and web based access to our favorite programming groups.Hi,
I've been experimenting with PEAR_ErrorStack (PHP 4.3.8) and am quite
impressed with it. I prefer using the static calls and are missing two
static methods:
1. It would be great to only get the errors of a specific stack:
$packageErrors = PEAR_ErrorStack::staticGetStackErrors('P
ackage');
2. A static method for popping off the last error of a specific stack:
$lastError = PEAR_ErrorStack::staticPop('Package');
Have I overlooked something and there is already a way to do this? If not,
should I file this as a feature request?
Thanks for having a look!
Best regards, Torsten Roehr
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.