ErrorStack: missing methods staticGetErrors('Package'), staticPop()

From: Date: Wed, 25 Aug 2004 11:12:29 +0000
Subject: ErrorStack: missing methods staticGetErrors('Package'), staticPop()
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14280@lists.php.net to get a copy of this message
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('Package'); 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

« previous php.pear.general (#14280) next »