FacetHelper::updateCheckboxFacetState
For checkboxes, updates the state based on filters. Handles hierarchies and FilterOnlyLeaves
Signature
protected function updateCheckboxFacetState(ArrayList
$values,
array
$filterVals,
[boolean
$filterOnlyLeaves = false] )
Parameters
$values
—
ArrayList
$filterVals
—
array
$filterOnlyLeaves
—
boolean
- [optional]
Returns
- bool
- - true if any of the children are true, false if all children are false