• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 515
  • Last Modified:

Zend Framework tracing

In the Zend Framework Quickstart I see in application/views/scripts/guestbook/index.phtml that the page is generated through $this object. How can I track down exactly where $this was created? I see that $this is a Zend_View object. I think it is created in the controller, but how do I track down (or trace) the files that were called from start to finish in generating a web page and then find where $this was created?

I understand the defaults that the Zend Framework dispatcher uses, but wanted a more general tracing method. I'm using Zend Studio for Eclipse.
0
steveriley1310
Asked:
steveriley1310
1 Solution
 
RoonaanCommented:
You could try using debug_print_backtrace();
0
 
steveriley1310Author Commented:
Roonaan,

Sorry for the late reply. Yes, this is what I was looking for.

Thanks.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now