/** * Checks if the required options have been provided into the $config array * * @param array $config configuration options * @return void * @throws Streamwide_Db_Adapter_Exception */ protected function _checkRequiredOptions(array $config) { if (!array_key_exists('host', $config)) { require_once 'Zend/Db/Adapter/Exception.php'; throw new Zend_Db_Adapter_Exception("Configuration array must have a key for 'host' naming the hostname or ip of the database server"); } parent::_checkRequiredOptions($config); }