You are here

function devel_generate_get_vocabs in Devel 6

Same name and namespace in other branches
  1. 5 devel_generate.inc \devel_generate_get_vocabs()
1 call to devel_generate_get_vocabs()
devel_generate_taxonomy_data in ./devel_generate.inc

File

./devel_generate.inc, line 164

Code

function devel_generate_get_vocabs() {
  $vocs = array();
  $result = db_query("SELECT vid FROM {vocabulary}");
  while ($voc = db_fetch_object($result)) {
    $vocs[] = $voc->vid;
  }
  return $vocs;
}