public function hookAddMemcacheTimeConfig(array $params) { extract($params); if (isset($pluginConfig->Memcache)) { foreach ($pluginConfig->Memcache->toArray() as $className => $cacheTime) { ConfigManager::addConfig(array('Db', 'Memcache', 'AuxConfig', 'Time'), $className, $cacheTime); } } }