/** * Sets up the connection with the parameters * of the configuration file * * @access private * @return void */ private function _setUpConnection() { $dbConfig = $this->_config->getDatabaseConfig(); $this->_driver = (string) $dbConfig->type; $this->_host = (string) $dbConfig->host; $this->_database = (string) $dbConfig->database; $this->_username = (string) $dbConfig->username; $this->_password = (string) $dbConfig->password; $this->_prefix = (string) $dbConfig->prefix; $this->_dbfile = (string) $dbConfig->file; }