// Add method method getGlobalValue on Configuration

This commit is contained in:
rGaillard
2011-11-18 16:46:56 +00:00
parent f2b73cca76
commit d49a428a98
+5
View File
@@ -159,6 +159,11 @@ class ConfigurationCore extends ObjectModel
return self::$_CONF[$langID]['global'][$key];
return false;
}
static public function getGlobalValue($key, $langID = NULL)
{
return self::get($key, $langID, 0, 0);
}
/**
* Get a single configuration value (in multiple languages)