elasticsearch\ActiveDataProvider getAggregation()

getAggregation() public method

Returns results of the specified aggregation.

public array getAggregation ( $name )
$name string

Aggregation name.

return array

Aggregation results.

throws yii\base\InvalidCallException

if requested aggregation does not present in query results.

doc_Yii
2016-10-30 17:01:12
Comments
Leave a Comment

Please login to continue.