FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Discovering all sub-classes via introspection?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Discovering all sub-classes via introspection? [message #171510 is a reply to message #171509] Fri, 07 January 2011 03:40 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 1/6/2011 10:38 PM, Roy Smith wrote:
> Given a class, is there a way to find all the classes which extend it?

No. There is no way to know if ANY class extends it, unless the class
has been instantiated.

A basic concept of OO programming - derived classes know about the base
class, but base classes don't know anything about derived classes.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Kobweb Java Supplementary 2011 Online Module
Next Topic: phpmailer
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 03:42:12 GMT 2024

Total time taken to generate the page: 0.04411 seconds