Property | Type | Description | |
---|---|---|---|
$_aggs | Subaggregations belonging to this aggregation | ||
$_name | The name of this aggregation |
Method | Description | |
---|---|---|
__construct ( string $name ) | ||
addAggregation ( |
Add a sub-aggregation. | |
getAggs ( ) : array | Retrieve all subaggregations belonging to this aggregation. | |
getName ( ) : string | Retrieve the name of this aggregation. | |
setName ( string $name ) | Set the name of this aggregation. | |
toArray ( ) : array |
public __construct ( string $name ) | ||
$name | string | the name of this aggregation |
public addAggregation ( |
||
$aggregation |