file of caller of my method
Posted: Thu Jul 08, 2004 1:07 pm
hi guys,
ive a problem here:
i've a class named Coke.
in that class Coke, i've a method blah.
in my method blah, i wanna print the name of the file calling that method.
i know i can use __FILE__, but its gonna return me the name of my class, no?
How can i grab taht information ?
thanks.
ive a problem here:
i've a class named Coke.
in that class Coke, i've a method blah.
in my method blah, i wanna print the name of the file calling that method.
i know i can use __FILE__, but its gonna return me the name of my class, no?
How can i grab taht information ?
thanks.