Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Contao
Database
setDatabase
Contao\Database::setDatabase PHP Метод
Документация по классу Database
Показать файл
Открыть проект
setDatabase()
публичный
Метод
Change the current database
public
setDatabase
(
string
$strDatabase
)
$strDatabase
string
The name of the target database
public function setDatabase($strDatabase) { $this->resConnection->exec("USE {$strDatabase}"); }
Database
__clone
__construct
__destruct
__get
beginTransaction
commitTransaction
execute
executeCached
executeUncached
fieldExists
findInSet
getChildRecords
getFieldNames
getInstance
getNextId
getParentRecords
getSizeOf
getUuid
indexExists
isUniqueValue
listFields
listTables
lockTables
prepare
query
rollbackTransaction
setDatabase
tableExists
unlockTables