PHP5 OOP how do I get the list of all classes dynamically?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a class

	class XMLRule 
	{
	 ...
	}

And many of these:

	class is_username extends XMLRule
	{
	}

	class is_device extends XMLRule
	{
	}

Is there a way in PHP5 to get a list of all the 'extends' classes I have
'defined' in my .php file?

I'm sure this is a long shot, but thought maybe through the Reflection class
or something? I really don't want to manually maintain an array if I don't
have to.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux