Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2008, 09:12 AM
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default Zend_Controller_Action::$_frontController?

What is this variable for? It doesn't seem to have any value unlike $this->getFrontController().

In what circumstances would I want to access the front controller from action controllers?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-05-2008, 04:32 PM
xentek's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

Zend_Controller_Action::$_frontController

This is a private member variable, and you won't really ever need to do anything with it. Its used internally by the class. Most of these store metadata of some kind. Use a debugger to step through the code if you're ever interested to see what kind of data it gets populated with.

Your action controllers will most likely never need to worry about the frontController, as it is just used to route the requests to your controllers, but never the other way round.

More info: P of EAA: Front Controller
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:52 PM.