You are here

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

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

Get's all the substitutions and store them.

File

includes/view.inc, line 583
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;
}