| Active Users: |
34 |
| Accounts: |
0 |
| Guests: |
34 |
|
|
|
|
|
|
|
Extending Singletons
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
|
|
|
|
|
|
|
|
|
|
|
|