/** * Set a global config * * @param Zend_Config $config */ public static function setConfig(Zend_Config $config) { self::$_config = $config; $adapterPaths = $config->get('adapterpaths'); if ($adapterPaths != null) { self::addAdapterPrefixPaths($adapterPaths->adapterpath->toArray()); } $prefixPaths = $config->get('prefixpaths'); if ($prefixPaths != null) { self::addScrollingStylePrefixPaths($prefixPaths->prefixpath->toArray()); } $scrollingStyle = $config->get('scrollingstyle'); if ($scrollingStyle != null) { self::setDefaultScrollingStyle($scrollingStyle); } }