You are here

function views_handler_filter_tag_font_tid::admin_summary in @font-your-face 6.2

Same name and namespace in other branches
  1. 7.2 modules/fontyourface_ui/views/views_handler_filter_tag_font_tid.inc \views_handler_filter_tag_font_tid::admin_summary()
  2. 7 views/views_handler_filter_tag_font_tid.inc \views_handler_filter_tag_font_tid::admin_summary()

File

views/views_handler_filter_tag_font_tid.inc, line 259
Views handler.

Class

views_handler_filter_tag_font_tid
Filter by tag id. Largely copied from views_handler_filter_term_node_tid.inc

Code

function admin_summary() {
  $this->value_options = array();
  if ($this->value) {
    $result = db_query("SELECT * FROM {fontyourface_tag} t WHERE t.tid IN (" . implode(', ', $this->value) . ")");
    while ($tag = db_fetch_object($result)) {
      $this->value_options[$tag->tid] = $tag->name;
    }

    // while
  }

  // if
  return parent::admin_summary();
}