function _taxonomy_menu_get_item in Taxonomy menu 7.2
Same name and namespace in other branches
- 8 taxonomy_menu.database.inc \_taxonomy_menu_get_item()
- 6.3 taxonomy_menu.database.inc \_taxonomy_menu_get_item()
- 6.2 taxonomy_menu.database.inc \_taxonomy_menu_get_item()
- 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()
File
- ./
taxonomy_menu.database.inc, line 238 - Database functions.
Code
function _taxonomy_menu_get_item($mlid) {
$result = db_select('taxonomy_menu', 'tm')
->condition('mlid', $mlid, '=')
->fields('tm', array(
'tid',
'vid',
))
->execute();
return $result
->fetch();
}