You are here

function views_json_query_handler_argument_query_string::validate_argument_basic in Views JSON Query 7

Provide a basic argument validation.

This can be overridden for more complex types; the basic validator only checks to see if the argument is not NULL or is numeric if the definition says it's numeric.

Return value

bool Whether or not the argument validates.

Overrides views_handler_argument::validate_argument_basic

File

handlers/views_json_query_handler_argument_query_string.inc, line 58
Definition of views_handler_argument_null.

Class

views_json_query_handler_argument_query_string
Argument handler for query string parameter in a JSON file URL.

Code

function validate_argument_basic($arg) {
  return parent::validate_argument_basic($arg);
}