You are here

function views_handler_arg_rss_feed in Views (for Drupal 7) 5

handler for our own RSS argument; mimics the feed selector

1 string reference to 'views_handler_arg_rss_feed'
views_rss_views_arguments in ./views_rss.module
While we support the global selector, some might want to allow ONLY RSS feeds so we support a stingy selector too

File

./views_rss.module, line 37

Code

function views_handler_arg_rss_feed($op, &$query, $argtype, $arg = '') {
  switch ($op) {
    case 'summary':
    case 'sort':
    case 'link':
    case 'title':
      break;
    case 'filter':

      // This is a clone of the default selector, but it just invokes ours
      // rather than calling all of them.
      views_rss_views_feed_argument('argument', $GLOBALS['current_view'], $arg, $argtype);
  }
}