Copied!

CountryTermAggregation

CountryTermAggregation.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

publicTYPE_ALPHA_2

CountryTermAggregation.php : 15
public mixed TYPE_ALPHA_2 = 4

publicTYPE_ALPHA_3

CountryTermAggregation.php : 16
public mixed TYPE_ALPHA_3 = 8

publicTYPE_IDC

CountryTermAggregation.php : 14
public mixed TYPE_IDC = 2

publicTYPE_NAME

CountryTermAggregation.php : 13
public mixed TYPE_NAME = 1

Properties

public $contentTypeIdentifier

FieldAggregationTrait.php : 14
public string $contentTypeIdentifier

public $fieldDefinitionIdentifier

FieldAggregationTrait.php : 17
public string $fieldDefinitionIdentifier

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()

CountryTermAggregation.php : 21
public __construct(string $name, string $contentTypeIdentifier, string $fieldDefinitionIdentifier[, int $type = self::TYPE_ALPHA_3 ])

Parameters

Name Type Default value Description
$name string - -
$contentTypeIdentifier string - -
$fieldDefinitionIdentifier string - -
$type int CountryTermAggregation::TYPE_ALPHA_3 -

publicgetContentTypeIdentifier()

FieldAggregationTrait.php : 19
public getContentTypeIdentifier() : string

Return values

string

publicgetFieldDefinitionIdentifier()

FieldAggregationTrait.php : 24
public getFieldDefinitionIdentifier() : string

Return values

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

publicgetType()

CountryTermAggregation.php : 32
public getType() : int

Return values

int

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