Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
yii
sphinx
ActiveRecord
getDb
yii\sphinx\ActiveRecord::getDb PHP Метод
Документация по классу ActiveRecord
Показать файл
Открыть проект
getDb()
публичный
статический
Метод
By default, the "sphinx" application component is used as the Sphinx connection. You may override this method if you want to use a different Sphinx connection.
public
static
getDb
( ) :
Connection
Результат
Connection
the Sphinx connection used by this AR class.
public static function getDb() { return \Yii::$app->get('sphinx'); }
ActiveRecord
attributes
callKeywords
callSnippets
delete
deleteAll
equals
fetchSnippet
find
findBySql
getDb
getIndexSchema
getSnippet
getSnippetSource
indexName
insert
insertInternal
isTransactional
populateRecord
primaryKey
setSnippet
transactions
update
updateAll
updateInternal