createTable

  1. drupal
    1. drupal7
Versionen
drupal7 public DatabaseSchema::createTable(&$ret, $name, $table)

Create a new table from a Drupal table definition.

Übergabeparameter

$ret Array to which query results will be added.

$name The name of the table to create.

$table A Schema API table definition array.

Verwandte Themen

Code

includes/database/schema.inc, line 469

<?php
public function createTable(&$ret, $name, $table) {
  $statements = $this->createTableSql($name, $table);
  foreach ($statements as $statement) {
    $ret[] = update_sql($statement);
  }
}
?>

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