Development

Upgrade1.1-NewFactories (diff)

You must first sign up to be able to contribute.

Changes from Version 1 of Upgrade1.1-NewFactories

Show
Ignore:
Author:
GaryFx (IP: 71.232.85.188)
Timestamp:
08/16/08 00:32:15 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Upgrade1.1-NewFactories

    v0 v1  
     1The sfI18N, sfRouting, and sfLogger objects are now factories and 
     2not singletons. 
     3 
     4If you want to get one of those objects in your code, they are 
     5available from `sfContext`: 
     6{{{ 
     7[php] 
     8sfContext::getInstance()->getI18N() 
     9sfContext::getInstance()->getRouting() 
     10sfContext::getInstance()->getLogger() 
     11}}}