// Add method method getGlobalValue on Configuration

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10282 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2011-11-18 16:46:56 +00:00
parent d6ef55b5ed
commit 96b9355d9d
+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)