Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
yii
gii
generators
model
Generator
getDbConnection
yii\gii\generators\model\Generator::getDbConnection PHP Method
Generator Class Documentation
Exibir arquivo
Open project: yiisoft/yii2-gii
getDbConnection()
protected
method
protected
getDbConnection
( ) :
Connection
return
yii\db\Connection
the DB connection as specified by [[db]].
protected function getDbConnection() { return Yii::$app->get($this->db, false); }
Generator
addInverseRelations
attributeLabels
autoCompleteData
checkJunctionTable
generate
generateClassName
generateLabels
generateManyManyRelations
generateQueryClassName
generateRelationLink
generateRelationName
generateRelations
generateRules
generateTableName
getDbConnection
getDescription
getName
getSchemaNames
getTableNames
getTablePrefix
hints
isColumnAutoIncremental
isHasManyRelation
requiredTemplates
rules
stickyAttributes
validateDb
validateModelClass
validateNamespace
validateTableName