You are here

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

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

Get's all the substitutions and store them.

1 call to view::substitutions()
view::execute in includes/view.inc
Execute the view's query.

File

includes/view.inc, line 402
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 substitutions($reset = FALSE) {
  if ($reset || empty($this->substitutions)) {
    $this->substitutions = module_invoke_all('views_query_substitutions', $this);
  }
  return $this->substitutions;
}