Consider following -
function A calls function B
function C also calls function B
From function B how to find which function called it - A or C?
Thanks
Consider following -
function A calls function B
function C also calls function B
From function B how to find which function called it - A or C?
Thanks
You could add a paramater to function B and pass one thing from A and one thing from C then know who is who in the zoo ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I found this -
var_dump(debug_backtrace());
It gives the entire call stack!
Thanks
Bookmarks