function views_handler_filter_vid in Views (for Drupal 7) 5
1 string reference to 'views_handler_filter_vid'
- taxonomy_views_tables in modules/
views_taxonomy.inc - This include file implements views functionality on behalf of taxonomy.module
File
- modules/
views_taxonomy.inc, line 471
Code
function views_handler_filter_vid() {
$vids = array();
$result = db_query("SELECT v.vid, v.name, v.weight FROM {vocabulary} v ORDER BY v.weight, v.name");
while ($obj = db_fetch_object($result)) {
$vids[$obj->vid] = $obj->name;
}
return $vids;
}