HTTP_client and listeners
| From: | Dan Rossi | Date: | Thu, 16 Feb 2006 04:31:04 +0000 |
| Subject: | HTTP_client and listeners | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23001@lists.php.net to get a copy of this message | ||
Can somebody explain why the attached listener is required to extend HTTP_Request_Listener ??
if (!is_a($listener, 'HTTP_Request_Listener')) {
return false;
}
This kinda sucks as i cant attach the current class of $this or self to be the listener object and it obviouslly needs to extend that class. Generally listener objects dont require to extend the event dispatcher ??? As of now i cant send database connections to a method call like that. Any ideas ?