You are here

function taxonomy_menu_get_menu_group_by_ts in Taxonomy menu 6.3

2 calls to taxonomy_menu_get_menu_group_by_ts()
taxonomy_menu_term_sets in ./taxonomy_menu.admin.inc
Callback for List of Term Sets
taxonomy_menu_term_set_delete in ./taxonomy_menu.admin.inc

File

./taxonomy_menu.admin.inc, line 821
admin section for taxonomy menu

Code

function taxonomy_menu_get_menu_group_by_ts($tsid) {
  $output = array();
  $result = db_query('SELECT * FROM {taxonomy_menu_group_term_set} WHERE tsid = %d', $tsid);
  while ($data = db_fetch_object($result)) {
    $output[$data->mgid] = taxonomy_menu_get_group($data->mgid);
  }
  return $output;
}