You are here

function view::set_arguments in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/view.inc \view::set_arguments()
  2. 7.3 includes/view.inc \view::set_arguments()

Set the arguments that come to this view. Usually from the URL but possibly from elsewhere.

1 call to view::set_arguments()
view::pre_execute in includes/view.inc
Run attachments and let the display do what it needs to do prior to running.

File

includes/view.inc, line 99
view.inc Provides the view object type and associated methods.

Class

view
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Code

function set_arguments($args) {
  $this->args = $args;
}