private function checkConnect()
{
if (empty($this->connect['type']) or empty($this->connect['host']) or empty($this->connect['name']) or empty($this->connect['user'])) {
throw new ConfigurationException("Database adapter is not configured.\n Please check 'db' configuration section: required type, host, db name and user");
}
}