function _taxonomy_menu_get_vocab_name in Taxonomy menu 6.3
get the name of a vocabulary
Parameters
$vid:
Return value
vocab name
1 call to _taxonomy_menu_get_vocab_name()
- taxonomy_menu_get_term_set in ./
taxonomy_menu.admin.inc - Get the term set object
File
- ./
taxonomy_menu.database.inc, line 54 - Taxonomy Menu functions that access the db
Code
function _taxonomy_menu_get_vocab_name($vid) {
return db_result(db_query('SELECT name FROM {vocabulary} WHERE vid = %d', $vid));
}