You are here

function date_sql_handler::get_db_type in Date 7

2 calls to date_sql_handler::get_db_type()
date_sql_handler::construct in date_api/date_api_sql.inc
date_sql_handler::set_db_timezone in date_api/date_api_sql.inc
Set the database timzone offset.

File

date_api/date_api_sql.inc, line 80
SQL helper for Date API.

Class

date_sql_handler
A class to manipulate date SQL.

Code

function get_db_type() {
  return $GLOBALS['databases']['default']['default']['driver'];
}