You are here

function views_handler_argument::is_wildcard in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 handlers/views_handler_argument.inc \views_handler_argument::is_wildcard()
1 call to views_handler_argument::is_wildcard()
views_handler_argument::validate_arg in handlers/views_handler_argument.inc
Validate that this argument works. By default, all arguments are valid.

File

handlers/views_handler_argument.inc, line 71

Class

views_handler_argument
Base class for arguments.

Code

function is_wildcard($arg = NULL) {
  if (!isset($arg)) {
    $arg = $this->argument;
  }
  return !empty($this->options['wildcard']) && $this->options['wildcard'] === $arg;
}