Build a section facet.
since eZ Platform 3.2.0, to be removed in Ibexa 4.0.0.
If provided the search service returns a SectionFacet. Which contains the counts for content in the existing sections.
Tags
Properties¶
$filter¶
An additional facet filter that will further filter the documents the facet will be executed on.
|
|
$global¶
If true the facet runs in a global mode not restricted by the query.
|
|
$limit¶
Number of facets (terms) returned.
|
|
$minCount¶
Specifies the minimum count. Only facet groups with more or equal results are returned.
|
|
$name¶
The name of the facet.
|
|
Methods¶
__construct() ¶
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
getProperties() ¶
Function where list of properties are returned.
|
|
Used by attributes(), override to add dynamic properties
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<string|int, mixed> | [] |
Additional dynamic properties exposed on the object |
Return values
array<string|int, mixed>