Difference between #9 and #10 of
Yii registry, how to use it, does it exist at all?

Revision #10 has been created by dckurushin on Oct 13, 2011, 7:46:02 PM with the memo:

« previous (#9) next (#11) »


Title unchanged

Yii registry, how to use it, does it exist at all?

Category unchanged


Yii version unchanged

Tags changed

Zend_Registry, registry, params, CMap, magic, get, assets, state, global, globalstate

Content changed

every thing you set via setGlobalState will be saved in runtime/global.bin in serialized form

Some common component that use it is CSecurityManager for validation key

And be careful with clearGlobalState, because it will regenerate the security key... 
it may have very bad effect if you for example encrypted passwords for user without specify your own key
Links ----- [Russian version](http://resurtm.kz/registry-in-yii)
6 0
Viewed: 32 145 times
Version: 1.1
Category: How-tos
Written by: dckurushin
Last updated by: resurtm
Created on: Sep 24, 2011
Last updated: 8 years ago
Update Article


View all history