sphinx\ActiveFixture $db

$db public property The Sphinx connection object or the application component ID of the Sphinx connection or a configuration array for creating the object. public yii\sphinx\Connection|array|string $db = 'sphinx'

sphinx\ActiveDataProvider getMeta()

getMeta() public method public array getMeta ( )return array Search query meta info

sphinx\ActiveDataProvider setFacets()

setFacets() public method public void setFacets ( $facets )$facets array Query facet results.

sphinx\ActiveDataProvider prepareTotalCount()

prepareTotalCount() protected method Returns a value indicating the total number of data models in this data provider. protected integer prepareTotalCount ( )return integer Total number of data models in this data provider.

sphinx\ActiveDataProvider prepareModels()

prepareModels() protected method Prepares the data models that will be made available in the current page. protected array prepareModels ( )return array The available data models

sphinx\ActiveDataProvider getFacets()

getFacets() public method public array getFacets ( )return array Query facet results.

sphinx\ActiveDataProvider $meta

$meta public property Search query meta info public array getMeta ( )public void setMeta ( $meta )

sphinx\ActiveDataProvider getFacet()

getFacet() public method Returns results of the specified facet. public array getFacet ( $name )$name string Facet name return array Facet results. throws yii\base\InvalidCallException if requested facet does not present in results.

sphinx\ActiveDataProvider $facets

$facets public property Query facet results. public array getFacets ( )public void setFacets ( $facets )

smarty\ViewRenderer render()

render() public method Renders a view file. This method is invoked by yii\web\View whenever it tries to render a view. Child classes must implement this method to render the given view file. public string render ( $view, $file, $params )$view yii\web\View The view object used for rendering the file. $file string The view file. $params array The parameters to be passed to the view file. return string The rendering result