Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
base
Application
getDb
yii\base\Application::getDb PHP 메소드
Application 1 문서
파일 보기
프로젝트 열기: yiisoft/yii2
getDb()
공개
메소드
Returns the database connection component.
public
getDb
( ) :
Connection
리턴
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