?
Solved

Zend Framework tracing

Posted on 2009-04-14
2
Medium Priority
?
505 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

801 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