DatabaseSchema::getPrefixInfo

protected function DatabaseSchema::getPrefixInfo

protected DatabaseSchema::getPrefixInfo($table = 'default', $add_prefix = TRUE)

Get information about the table name and schema from the prefix.

Parameters

Name of table to look prefix up for. Defaults to 'default' because thats: default key for prefix.

$add_prefix: Boolean that indicates whether the given table name should be prefixed.

Return value

A keyed array with information about the schema, table name and prefix.

File

includes/database/schema.inc, line 230
Generic Database schema code.

Class

登录查看完整内容