You are here: PHP5 OOP how do I get the list of all classes dynamically? « PHP « IT news, forums, messages
PHP5 OOP how do I get the list of all classes dynamically?

Posted by "Daevid Vincent" on 10/17/68 11:28

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация