•  
  •  
  •  
  •  
  •  
  •  
  •  
Username:
Password:
Forgot password?  Register

Phrappe_Controller_Front, Part 2: Extending Zend_Controller_Front

Title: Phrappe_Controller_Front, Part 2: Extending Zend_Controller_Front
Category: Zend Controller & Zend View
Clicks: 110
Listing added: Jan 6, 2007
PageRank:
2/10
In the previous article I introduced a method to describe routing information within a configuration file built specially for the Zend_Config object. The example code I gave was done in XML, but itÂ’s worth reiterating that the same can be done with an INI file or a file containing a PHP array. Now IÂ’d like to extend the Zend_Controller_Front class to automate the retrieval and use of the configuration settings we capture in our Zend_Config object. WeÂ’ll use the Zend_Config object to create and build out a Zend_Controller_RewriteRouter object. Once weÂ’re done, weÂ’ll simply set it to our front controller like normal (almost), and dispatch our HTTP request.
Zend Framework Version: Unknown
Author Name: John D Wells
Source: John D Wells
Referred By: Zend Framework Tutorials
Rating
  •  

Rating: 0.00/10 (0 ) 

Comments

 

 


 characters left

captchaPlease input letters you see on the image.
Click on image to redraw.