1 database.inc | DatabaseConnection::getPrefixes() |
Get the list of table prefixes used by this database connection.
@since 1.30.0 Method added.
Return value
array: An array of all prefixes, with the key being the table name and the value being the prefix. The special key "default" applies to all tables not specifically prefixed.
File
- core/
includes/ database/ database.inc, line 483 - Core systems for the database layer.
Class
- DatabaseConnection
- Base Database API class.
Code
function getPrefixes() {
return $this->prefixes;
}