FacetedCategoryItem
class FacetedCategoryItem implements ItemInterface
Traits
Methods
No description
No description
No description
No description
No description
No description
No description
No description
Indicates if this item has been disabled and should not be displayed
Transforms the array structure of this option into a JSON string.
No description
Sets the count
No description
Disable this item, so it will not be displayed
No description
Details
at line 160
string
__toString()
No description
at line 129
static FacetedCategoryItem
create(string $label, Condition $condition = null, string|null $value = null, bool $default = false, bool $active = false, int|null $count = null)
No description
at line 110
Condition
getCondition()
No description
at line 93
int|null
getCount()
No description
at line 79
string
getLabel()
No description
at line 86
string
getValue()
No description
at line 26
bool
isActive()
No description
at line 45
bool
isDefault()
No description
at line 62
bool
isDisabled()
Indicates if this item has been disabled and should not be displayed
in
ItemTrait at line 13
array
jsonSerialize()
Transforms the array structure of this option into a JSON string.
at line 35
void
setActive(bool $active = true)
No description
at line 103
void
setCount(int $count)
Sets the count
at line 54
void
setDefault(bool $default = true)
No description
at line 72
void
setDisabled(bool $disabled = true)
Disable this item, so it will not be displayed
at line 150
array
toArray()
No description