You are here

function _views_view_build_arg in Views (for Drupal 7) 5

1 call to _views_view_build_arg()
_views_build_query in ./views_query.inc

File

./views_query.inc, line 176

Code

function _views_view_build_arg(&$query, $arg, $argdata) {
  $arginfo = _views_get_arguments();
  if (!function_exists($arginfo[$argdata['type']]['handler'])) {
    return false;
  }

  // call the handler, unless the arg is the 'wildcard'.
  if ($arg != $argdata['wildcard']) {
    $arginfo[$argdata['type']]['handler']('filter', $query, $argdata, $arg);
  }
}