5 * Definition of views_handler_argument_aggregator_category_cid.
9 * Argument handler to accept an aggregator category id.
11 * @ingroup views_argument_handlers
13 class views_handler_argument_aggregator_category_cid extends views_handler_argument_numeric {
15 * Override the behavior of title(). Get the title of the category.
17 function title_query() {
20 $result = db_query("SELECT c.title FROM {aggregator_category} c WHERE c.cid IN (:cid)", array(':cid' => $this->value));
21 foreach ($result as $term) {
22 $titles[] = check_plain($term->title);