Solved

Zend Framework tracing

Posted on 2009-04-14
2
477 Views
Last Modified: 2013-11-10
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
Comment
Question by:steveriley1310
2 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 250 total points
ID: 24144893
You could try using debug_print_backtrace();
0
 
LVL 1

Author Closing Comment

by:steveriley1310
ID: 31569979
Roonaan,

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

Thanks.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question