Hello everybody,

Shouldn't Zend_Registry::set('index','value') throw an exception or at least
indicate an intended overwriting, when trying to add a different value to
the same index, or better said to overwrite an already existing value
somewhere in the application. 

Or do I have to explicit check for the index via Zend_Registry::is
Registered('index') and then compare the old value against the new value and
decide the further actions?

Just stumbled over it while glancing at the class source of Zend_Registry.

Best regards,

Raphael Stolt
-- 
View this message in context: 
http://www.nabble.com/Zend_Registry-tf3583670s16154.html#a10013768
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to