Zend_Db_Adapter_Pdo_Sqlite::_checkRequiredOptions PHP Méthode

_checkRequiredOptions() protected méthode

Throw exceptions if any are missing.
protected _checkRequiredOptions ( array $config )
$config array
    protected function _checkRequiredOptions(array $config)
    {
        // we need at least a dbname
        if (!array_key_exists('dbname', $config)) {
            /** @see Zend_Db_Adapter_Exception */
            require_once 'Zend/Db/Adapter/Exception.php';
            throw new Zend_Db_Adapter_Exception("Configuration array must have a key for 'dbname' that names the database instance");
        }
    }