1 select.inc | public SelectQueryExtender::preExecute(SelectQueryInterface $query = NULL) |
Generic preparation and validation for a SELECT query.
Return value
bool: TRUE if the validation was successful, FALSE if not.
Overrides SelectQueryInterface::preExecute
File
- core/
includes/ database/ select.inc, line 826 - Contains classes and interfaces for Select queries.
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);
}