function _taxonomy_menu_get_parents in Taxonomy menu 6.3
Same name and namespace in other branches
- 8 taxonomy_menu.database.inc \_taxonomy_menu_get_parents()
- 6.2 taxonomy_menu.database.inc \_taxonomy_menu_get_parents()
- 7.2 taxonomy_menu.database.inc \_taxonomy_menu_get_parents()
- 7 taxonomy_menu.database.inc \_taxonomy_menu_get_parents()
Get an array of the tid's from the parent
Parameters
$tid:
Return value
array of tid
File
- ./
taxonomy_menu.database.inc, line 15 - Taxonomy Menu functions that access the db
Code
function _taxonomy_menu_get_parents($tid) {
$output = array();
$result = taxonomy_get_parents($tid);
foreach ($result as $key => $item) {
$output[] = $key;
}
return $output;
}