#22494 [Opn]: Additional functions needed for namespaces
| From: | pollita@php.net | Date: | Fri, 18 Apr 2003 19:35:49 +0000 |
| Subject: | #22494 [Opn]: Additional functions needed for namespaces | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37863@lists.php.net to get a copy of this message | ||
ID: 22494
Updated by: pollita@php.net
Reported By: andrew at evilwalrus dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: WinXP
PHP Version: 5CVS-2003-03-01 (dev)
New Comment:
FYI:
get_namespace_classes() already exists as:
get_declared_classes($namespace)
Previous Comments:
------------------------------------------------------------------------
[2003-03-01 13:21:10] andrew at evilwalrus dot com
With the advent of the new namespace {} context, how bout a few new
functions to suit them?
A few off the top of my head:
- get_namespace_classes (Retrieves a list of all classes in a
namespace)
- get_namespace_methods (Gets a list of all methods in a namespace)
- get_namespace_vars (You guessed it, gets all vars..)
Just simple things like that... it could come in handy. Just a
thought.
~ Andrew Heebner
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22494&edit=1