third_party/js/mozmill/shared-modules/addons.js
function addonsManager_getSearchFilter(aSpec) {
    var spec = aSpec || { };

    return this.getElements({
      type: "search_filterRadioButtons",
      subtype: spec.attribute,
      value: spec.value
    });
  }
function addonsManager_getSearchFilter(aSpec) {
    var spec = aSpec || { };

    return this.getElements({
      type: "search_filterRadioButtons",
      subtype: spec.attribute,
      value: spec.value
    });
  }
function addonsManager_getSearchFilter ( aSpec ) { var spec = aSpec || { } ; return this . getElements ( { type : "search_filterRadioButtons" , subtype : spec . attribute , value : spec . value } ) ; }
Returns the available search filters which match the filter criteria

@param {object} aSpec
Information about the filter to apply
Elements: attribute - DOM attribute of the wanted filter
[optional - default: ""]
value     - Value of the DOM attribute
[optional - default: ""]

@returns List of search filters
@type {array of ElemBase}
Returns the available search filters which match the filter criteria