You are here

function _taxonomy_menu_get_tid in Taxonomy menu 6.2

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

Get tid for a given mlid

Parameters

$mlid:

Return value

$tid

File

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

Code

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