public function SelectQueryExtender::execute

public SelectQueryExtender::execute()

File

includes/database/select.inc, line 716

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function execute() {
  // By calling preExecute() here, we force it to preprocess the extender
  // object rather than just the base query object.  That means
  // hook_query_alter() gets access to the extended object.
  if (!$this->preExecute($this)) {
    return NULL;
  }

  return $this->query->execute();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!select.inc/function/SelectQueryExtender::execute/7.x