Re: [PHP] Registry class question.

2010-02-27 Thread Richard Quadling
On 26 February 2010 20:17, Peter van der Does pvanderd...@gmail.com wrote: Hi, I've build a registry class to store settings I need to use in several other classes. Currently I've set it up with a static array in the registry class and using two methods to access the settings and values

[PHP] Registry class question.

2010-02-26 Thread Peter van der Does
Hi, I've build a registry class to store settings I need to use in several other classes. Currently I've set it up with a static array in the registry class and using two methods to access the settings and values storeSetting($key,$value) { $this-_settings[$key] = $value; } getSetting($key) {