| Versionen | |
|---|---|
| drupal7 | public SelectQuery::execute() |
includes/
<?php
public function execute() {
// Modules may alter all queries or only those having a particular tag.
drupal_alter('query', $this);
if (isset($this->alterTags)) {
foreach ($this->alterTags as $tag => $value) {
drupal_alter("query_$tag", $this);
}
}
$args = $this->getArguments();
if (!empty($this->range)) {
return $this->connection->queryRange((string) $this, $args, $this->range['start'], $this->range['length'], $this->queryOptions);
}
return $this->connection->query((string) $this, $args, $this->queryOptions);
}
?>
Kommentare
Kommentar hinzufügen