function i18nviews_handler_filter_term_node_tid::admin_summary in Internationalization Views 6.2
Same name and namespace in other branches
- 6.3 includes/i18nviews_handler_filter_term_node_tid.inc \i18nviews_handler_filter_term_node_tid::admin_summary()
File
- includes/
i18nviews_handler_filter_term_node_tid.inc, line 155
Class
- i18nviews_handler_filter_term_node_tid
- Filter by term id.
Code
function admin_summary() {
// set up $this->value_options for the parent summary
$this->value_options = array();
if ($this->value) {
$result = db_query("SELECT * FROM {term_data} td WHERE td.tid IN (" . implode(', ', $this->value) . ")");
while ($term = db_fetch_object($result)) {
$this->value_options[$term->tid] = tt('taxonomy:term:' . $term->tid . ':name', $term->name);
}
}
return parent::admin_summary();
}