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
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) {
2 matches
Mail list logo