Re: Re: zend_module_entry changes - feature request

From: Date: Mon, 17 Mar 2003 19:36:52 +0000
Subject: Re: Re: zend_module_entry changes - feature request
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-73@lists.php.net to get a copy of this message
At 20:30 17.03.2003, Andrei Zmievski wrote:
Tal, I guess you just want to find out which classes an extension defines. I don't think the current architecture allows for it. There are two ways of going about it: 1. Keep track of extension classes with a HashTable (or list) in zend_module_entry. This list would be updated when zend_register_internal_class() is called. 2. Add a field called module_number to zend_class_entry. I think the first one would be more appropriate, but I welcome other comments.
You forgot about one idea i do like much more: registering extension classes in a seperate namespace (e.g.: the extension name). Besides that the idea is really cool and improves introspection. What about adding a SHORT textual info to the function/class members? marcus

« previous php.internals (#73) next »