Posted by Torsten Roehr on 10/04/32 11:05
"Jason Barnett" <jason.barnett@telesuite.com> wrote in message
news:20050111164037.7759.qmail@pb1.pair.com...
> M. Sokolewicz wrote:
> > try using __CLASS__
> >
> > Torsten Roehr wrote:
> >
>
> This is a good suggestion but I wonder... Torsten do you have a large
> heirarchy of parent classes or just one parent? E.g. Car -> Sports Car
> -> Porsche. More importantly will __CLASS__ resolve to the class name
> that you need...
>
> If __CLASS__ works for you then I would go with it. If not can you just
> send the appropriate class name as a parameter?
__CLASS__ contains the name of the class the method is in. In my sample it
would be 'Car' and not 'Porsche'.
What I don't understand is why the behaviour of debug_backtrace() has been
changed!?!
Regards, Torsten
[Back to original message]
|