You are here

function taxonomy_menu_list_options in Taxonomy menu 6.3

get a list of the options

Parameters

@type:

Return value

array of option objects

File

./taxonomy_menu.database.inc, line 109
Taxonomy Menu functions that access the db

Code

function taxonomy_menu_list_options($type) {
  $output = array();
  $result = db_query("SELECT * FROM {taxonomy_menu_options} WHERE type = '%s'", $type);
  while ($data = db_fetch_object($result)) {
    $output[] = $data;
  }
  return $output;
}