Copied!

ObjectStateTermAggregation

ObjectStateTermAggregation.php : 11

Constants

publicDEFAULT_LIMIT

AbstractTermAggregation.php : 15
public mixed DEFAULT_LIMIT = 10

publicDEFAULT_MIN_COUNT

AbstractTermAggregation.php : 16
public mixed DEFAULT_MIN_COUNT = 1

Properties

protected $limit

AbstractTermAggregation.php : 30

Number of facets (terms) returned.

protected int $limit = self::DEFAULT_LIMIT

protected $minCount

AbstractTermAggregation.php : 37

Specifies the minimum count. Only facet groups with more or equal results are returned.

protected int $minCount = self::DEFAULT_MIN_COUNT

protected $name

AbstractTermAggregation.php : 23

The name of the aggregation.

protected string $name

Methods

public__construct()

ObjectStateTermAggregation.php : 16
public __construct(string $name, string $objectStateGroupIdentifier)

Parameters

Name Type Default value Description
$name string - -
$objectStateGroupIdentifier string - -

publicgetLimit()

AbstractTermAggregation.php : 49
public getLimit() : int

Return values

int

publicgetMinCount()

AbstractTermAggregation.php : 61
public getMinCount() : int

Return values

int

publicgetName()

AbstractTermAggregation.php : 44
public getName() : string

Return values

string

publicgetObjectStateGroupIdentifier()

ObjectStateTermAggregation.php : 25
public getObjectStateGroupIdentifier() : string

Return values

string

publicsetLimit()

AbstractTermAggregation.php : 54
public setLimit(int $limit) : self

Parameters

Name Type Default value Description
$limit int - -

Return values

self

publicsetMinCount()

AbstractTermAggregation.php : 66
public setMinCount(int $minCount) : self

Parameters

Name Type Default value Description
$minCount int - -

Return values

self