protected function getDbType($profile = null) { if (!$profile) { $profile = $this->dbProfile; } $conn = \jDb::getConnection($profile); return $conn->dbms; }