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

Extending Singletons

Title: Extending Singletons
Category: Zend Controller & Zend View
Clicks: 66
Listing added: Feb 5, 2007
PageRank:
4/10
I was wondering about how to extend a singleton class such that you could retrieve the new class when retrieving the singleton later. In particular, Zend_Controller_Front is a singleton, but what if I want to extend it later? A number of plugins in the Zend Framework, particularly view helpers and routing functionality, make use of the singleton; would I need to alter all of these later so I could make use of the new subclass ?
Zend Framework Version: Unknown
Author Name: Matthew Weier O’Phinney
Source: Phly, boy, phly - the weblog and site of Matthew Weier O'Phinney
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.