execute

  1. drupal
    1. drupal7
Versionen
drupal7 public SelectQuery::execute()

Verwandte Themen

Code

includes/database/select.inc, line 883

<?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

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen