Solved

Zend Framework tracing

Posted on 2009-04-14
2
463 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now