As an user of this library I want to consume my selected filters easily.
When I tell the ParameterBuilder to set a specific filter I also want it to be selected in the response.
Add a flag to each filter to tell weither it is selected or not. The value should be based on what was submitted to FINDOLOGIC such as attrib['cat']=Jeans. The flag may just be an indicator such as $selected and can be getted with $filter->isSelected() which may return true or false.
attrib['cat']=Jeans
. The flag may just be an indicator such as$selected
and can be getted with$filter->isSelected()
which may returntrue
orfalse
.