[PEPr] Comment on Events::Event::Handler
| From: | Justin Patrin | Date: | Wed, 19 Jan 2005 22:03:02 +0000 |
| Subject: | [PEPr] Comment on Events::Event::Handler | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35622@lists.php.net to get a copy of this message | ||
Justin Patrin (http://pear.php.net/user/justinpatrin) has commented on the proposal for
Events::Event::Handler.
Comment:
First of all, the normal way of dealing with errors in PEAR packages is
with PEAR_Error. Such as:
return PEAR::raiseError('handler already exists: '.$for);
Second of all, this is basically a simplified and far less flexible
version of Event_Dispatcher, which was called for votes a short while
ago.
http://pear.php.net/pepr/pepr-proposal-show.php?id=186
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=196
--
Sent by PEPr, the automatic proposal system at http://pear.php.net