Same name and namespace in other branches
- 6.x-3.x includes/view.inc \view::_pre_query()
Run the pre_query() on all active handlers.
1 call to view::_pre_query()
- view::build in includes/
view.inc - Build the query for the view.
File
- includes/
view.inc, line 767 - views_objects Objects that represent a View or part of a view
Class
Code
public function _pre_query() {
foreach (views_object_types() as $key => $info) {
$handlers =& $this->{$key};
$position = 0;
foreach ($handlers as $id => $handler) {
$handlers[$id]->position = $position;
$handlers[$id]
->pre_query();
$position++;
}
}
}