getArguments

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

Verwandte Themen

Code

includes/database/select.inc, line 861

<?php
public function getArguments() {
  $this->where->compile($this->connection);
  $this->having->compile($this->connection);
  $args = $this->where->arguments() + $this->having->arguments();
  foreach ($this->tables as $table) {
    if ($table['arguments']) {
      $args += $table['arguments'];
    }
    // If this table is a subquery, grab its arguments recursively.
    if ($table['table'] instanceof SelectQueryInterface) {
      $args += $table['table']->getArguments();
    }
  }
  foreach ($this->expressions as $expression) {
    if ($expression['arguments']) {
      $args += $expression['arguments'];
    }
  }

  return $args;
}
?>

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