You are here

function _taxonomy_menu_insert_menu_item in Taxonomy menu 6.2

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

helper function to insert a menu item

Parameters

$mlid:

$tid:

$vid:

1 call to _taxonomy_menu_insert_menu_item()
_taxonomy_menu_save in ./taxonomy_menu.module
Add/Update a taxonomy menu item.

File

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

Code

function _taxonomy_menu_insert_menu_item($mlid, $tid, $vid) {
  db_query('INSERT INTO {taxonomy_menu} (mlid, tid, vid) VALUES (%d, %d, %d)', $mlid, $tid, $vid);
}