Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
mootensai
enhancedgii
migration
Generator
getDbConnection
mootensai\enhancedgii\migration\Generator::getDbConnection PHP Method
Generator Class Documentation
Show file
Open project: mootensai/yii2-enhanced-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
attributeLabels
autoCompleteData
generate
generateColumns
generateRelations
generateTableName
getDbConnection
getDescription
getName
getSchemaType
getTableNames
hints
init
reorderRecrusive
reorderTables
requiredTemplates
rules
stickyAttributes
validateDb
validateTableName