function view::substitutions in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 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
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;
}