Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
base
Application
getDb
yii\base\Application::getDb PHP Méthode
Application Class Documentation
Afficher le fichier
Open project: yiisoft/yii2
getDb()
public
méthode
Returns the database connection component.
public
getDb
( ) :
Connection
Résultat
yii\db\Connection
the database connection.
public function getDb() { return $this->get('db'); }
Application
__construct
bootstrap
coreComponents
end
getAssetManager
getAuthManager
getCache
getDb
getErrorHandler
getFormatter
getI18n
getLog
getMailer
getRequest
getResponse
getRuntimePath
getSecurity
getTimeZone
getUniqueId
getUrlManager
getVendorPath
getView
handleRequest
init
preInit
registerErrorHandler
run
setBasePath
setContainer
setRuntimePath
setTimeZone
setVendorPath