You are here

function _taxonomy_menu_get_item in Taxonomy menu 6.2

Same name and namespace in other branches
  1. 8 taxonomy_menu.database.inc \_taxonomy_menu_get_item()
  2. 6.3 taxonomy_menu.database.inc \_taxonomy_menu_get_item()
  3. 7.2 taxonomy_menu.database.inc \_taxonomy_menu_get_item()
  4. 7 taxonomy_menu.database.inc \_taxonomy_menu_get_item()

Get vid, tid for a given mlid

Parameters

$mlid:

Return value

array of vid, tid

1 call to _taxonomy_menu_get_item()
taxonomy_menu_translated_menu_link_alter in ./taxonomy_menu.module
Implementation of hook_translated_menu_link_alter().

File

./taxonomy_menu.database.inc, line 149
Database functions

Code

function _taxonomy_menu_get_item($mlid) {
  return db_fetch_array(db_query('SELECT tid, vid FROM {taxonomy_menu} WHERE mlid = %d', $mlid));
}