function views_handler_argument::is_exception

3.x views_handler_argument.inc views_handler_argument::is_exception($arg = NULL)
1 call to views_handler_argument::is_exception()
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 152
@todo.

Class

views_handler_argument
Base class for arguments.

Code

function is_exception($arg = NULL) {
  if (!isset($arg)) {
    $arg = isset($this->argument) ? $this->argument : NULL;
  }
  return !empty($this->options['exception']['value']) && $this->options['exception']['value'] === $arg;
}