On this page
public function SelectQueryExtender::preExecute
public SelectQueryExtender::preExecute(SelectQueryInterface $query = NULL)
Generic preparation and validation for a SELECT query.
Return value
TRUE if the validation was successful, FALSE if not.
Overrides SelectQueryInterface::preExecute
File
- includes/database/select.inc, line 707
Class
- SelectQueryExtender
- The base extender class for Select queries.
Code
public function preExecute(SelectQueryInterface $query = NULL) {
// If no query object is passed in, use $this.
if (!isset($query)) {
$query = $this;
}
return $this->query->preExecute($query);
}
© 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::preExecute/7.x