ZendContainer.php
protected static function getDbConfig()
    {
        static $config = null;
        
        if (!$config) {
            $config = Container::getConfig()->getConfig('db');
            if (!is_array($config)) {
                throw new ArchException('Key db must be declared in application configuration');
            }
        }
        return $config;
    }
protected static function getDbConfig()
    {
        static $config = null;
        
        if (!$config) {
            $config = Container::getConfig()->getConfig('db');
            if (!is_array($config)) {
                throw new ArchException('Key db must be declared in application configuration');
            }
        }
        return $config;
    }
protected static function getDbConfig ( ) { static $ config = null ; if ( ! $ config ) { $ config = Container :: getConfig ( ) -> getConfig ( 'db' ) ; if ( ! is_array ( $ config ) ) { throw new ArchException ( 'Key db must be declared in application configuration' ) ; } } return $ config ; }
Configuration de la db dans la configuration de l'application
@return array
@throws ArchException
Configuration de la db dans la configuration de l application