Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Zend Framework tracing

Posted on 2009-04-14
2
Medium Priority
?
509 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

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.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 dynamically set the form action using jQuery.
Suggested Courses

650 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