> > > or are you referring to this?
> > >
> > > http://www.php.net/manual/en/function.get-class.php

> > (a function that I keep forgetting about....)
> > No because it isn't the name of the class I want it is the name of the
> > instance of the class...

> ahh! so the variable name then? don't think you can, unless it's passed to
> the object manually

(Untried, but FWIW--) I suppose you could loop through all defined vars, 
testing whether they are objects, then asking each if the name of its class 
is the same as the name of the current class...but why would one need this 


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

Reply via email to