sphinx\ActiveRecord getDb()

getDb() public static method

Returns the Sphinx connection used by this AR class.

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 yii\sphinx\Connection getDb ( )
return yii\sphinx\Connection

The Sphinx connection used by this AR class.

doc_Yii
2016-10-30 17:11:37
Comments
Leave a Comment

Please login to continue.