コード例 #1
0
 /**
  * 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;
 }
コード例 #2
0
 /**
  * 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;
 }