Connection::getFullQualifiedTableName

public Connection::getFullQualifiedTableName($table)

Get a fully qualified table name.

Parameters

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

Return value

string

File

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

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;
}
doc_Drupal
2016-10-29 08:55:50
Comments
Leave a Comment

Please login to continue.