You are here

function dba_list_database_keys in Database Administration 7

List all defined database keys.

3 calls to dba_list_database_keys()
dba_admin_settings in ./dba.admin.inc
Module configuration.
dba_set_active_database in ./dba.admin.inc
dba_show_active_database in ./dba.admin.inc

File

./dba.admin.inc, line 602

Code

function dba_list_database_keys() {
  global $databases;
  $keys = array();
  foreach ($databases as $key => $database) {
    $keys[$key] = $key;
  }
  return $keys;
}