function _taxonomy_menu_get_mlid in Taxonomy menu 6.2
Same name and namespace in other branches
- 8 taxonomy_menu.database.inc \_taxonomy_menu_get_mlid()
- 7.2 taxonomy_menu.database.inc \_taxonomy_menu_get_mlid()
- 7 taxonomy_menu.database.inc \_taxonomy_menu_get_mlid()
Return the corresponding menu link id.
Parameters
$tid: the term's id
3 calls to _taxonomy_menu_get_mlid()
- taxonomy_menu_taxonomy in ./
taxonomy_menu.module - Implementation of hook_taxonomy().
- _taxonomy_menu_nodeapi_helper in ./
taxonomy_menu.module - Helper function to
- _taxonomy_menu_save in ./
taxonomy_menu.module - Add/Update a taxonomy menu item.
File
- ./
taxonomy_menu.database.inc, line 30 - Database functions
Code
function _taxonomy_menu_get_mlid($tid, $vid) {
return db_result(db_query('SELECT mlid FROM {taxonomy_menu} WHERE tid = %d AND vid = %d', $tid, $vid));
}