function view::_pre_query

cis7 view.inc view::_pre_query()
cle7 view.inc view::_pre_query()
elmsmedia7 view.inc view::_pre_query()
icor7 view.inc view::_pre_query()
meedjum_blog7 view.inc view::_pre_query()
mooc7 view.inc view::_pre_query()

Run the pre_query() on all active handlers.

1 call to view::_pre_query()
view::build in sites/all/modules/ulmus/views/includes/view.inc
Build the query for the view.

File

sites/all/modules/ulmus/views/includes/view.inc, line 725
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 _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++;
    }
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.