You are here

function views_handler_argument::set_argument 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::set_argument()
  2. 7.3 handlers/views_handler_argument.inc \views_handler_argument::set_argument()

Set the input for this argument

Return value

TRUE if it successfully validates; FALSE if it does not.

File

handlers/views_handler_argument.inc, line 787

Class

views_handler_argument
Base class for arguments.

Code

function set_argument($arg) {
  $this->argument = $arg;
  return $this
    ->validate_arg($arg);
}