function taxonomy_menu_get_term_set in Taxonomy menu 6.3
Get the term set object
Parameters
$tsid:
Return value
unknown_type
5 calls to taxonomy_menu_get_term_set()
- taxonomy_menu_get_term_sets in ./
taxonomy_menu.admin.inc - Get all of the term sets
- taxonomy_menu_get_term_sets_by_group in ./
taxonomy_menu.admin.inc - get a list of the term sets for a group
- taxonomy_menu_save_menu_set_rtln in ./
taxonomy_menu.admin.inc - Save a Term Set/mneugrpou Reltn
- taxonomy_menu_term_set_delete_confirm in ./
taxonomy_menu.admin.inc - taxonomy_menu_term_set_form in ./
taxonomy_menu.admin.inc - Implementation of hook_form(). Add Term Set form.
File
- ./
taxonomy_menu.admin.inc, line 774 - admin section for taxonomy menu
Code
function taxonomy_menu_get_term_set($tsid) {
$term_set = db_fetch_object(db_query('SELECT * FROM {taxonomy_menu_term_set} WHERE tsid = %d', $tsid));
$term_set->items = unserialize($term_set->items);
$term_set->vocab_name = _taxonomy_menu_get_vocab_name($term_set->vid);
$term_set->options = _taxonomy_menu_get_options_by_key('TERM_SET', $tsid);
return $term_set;
}