Re: Event_Dispatcher request

From: Date: Wed, 27 Jul 2005 08:33:11 +0000
Subject: Re: Event_Dispatcher request
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38957@lists.php.net to get a copy of this message
Hi, Bertrand Mansion wrote:
Unless there is a good example of where this can be used, I am strongly against opening access to $_ro and allowing people to mess with it directly. Adding or removing observers should be handled by using the class methods (which is the case right now), not by playing with $_ro directly IMO. Of course, that's unless I'm missing something... I can't see a problem in *reading* the list, I will also *not* add something for write access. In a Java framework where I'm using a similar package I need the fetch all listeners for debugging purposes and I guess it wouldnt' hurt having this feature in Event_Dispatcher.
Stephan

« previous php.pear.dev (#38957) next »