function Connection::getFullQualifiedTableName

Same name in this branch
  1. 9 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getFullQualifiedTableName()
  2. 9 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection::getFullQualifiedTableName()
Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::getFullQualifiedTableName()
  2. 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection::getFullQualifiedTableName()
  3. 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getFullQualifiedTableName()
  4. 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getFullQualifiedTableName()
  5. 10 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection::getFullQualifiedTableName()
  6. 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getFullQualifiedTableName()
  7. 11.x core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getFullQualifiedTableName()
  8. 11.x core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection::getFullQualifiedTableName()
  9. 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getFullQualifiedTableName()

Get a fully qualified table name.

Parameters

string $table: The name of the table in question.

Return value

string

2 methods override Connection::getFullQualifiedTableName()
Connection::getFullQualifiedTableName in core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Get a fully qualified table name.
Connection::getFullQualifiedTableName in core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
Get a fully qualified table name.

File

core/lib/Drupal/Core/Database/Connection.php, line 587

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function getFullQualifiedTableName($table) {
    $options = $this->getConnectionOptions();
    $prefix = $this->tablePrefix($table);
    return $options['database'] . '.' . $prefix . $table;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.