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
sphinx
ActiveRecord
getDb
yii\sphinx\ActiveRecord::getDb PHP Méthode
ActiveRecord Class Documentation
Afficher le fichier
Open project: yiisoft/yii2-sphinx
getDb()
public
static
méthode
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
Résultat
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