/** * Adds an entry to the set of possible filtering values, * the filteredAttributeName of the added entry is updated so that it corresponds to the group * @param FilterOptionBase $option The entry to add. */ public function addFilteringOption(FilterOptionBase $option) { $option->setFilteredAttributeName($this->filteredAttributeName); $option->setGroupMultiSelect($this->multiSelect); $this->filteringOptions[] = $option; }
/** * Adds an entry to the set of possible filtering values, * the filteredAttributeName of the added entry is updated so that it corresponds to the group * @param FilterOptionBase $option The entry to add. */ public function addFilteringOption(FilterOptionBase $option) { $option->setFilteredAttributeName($this->filteredAttributeName); $this->filteringOptions[] = $option; }