function registerFilter(oControl, oFilter) {
		oFilter.attachSearch(onSearch, oControl);

		if (oFilter.attachFiltersChanged instanceof Function) {
			oFilter.attachFiltersChanged(onFiltersChanged, oControl);
		}

		if (oControl._onFilterProvided instanceof Function) {
			oControl._onFilterProvided(oFilter);
		}
	}
Registers the control instance to the provided IFilter.

@param {sap.ui.mdc.Control} oControl Control instance.
@param {sap.ui.mdc.IFilter} oFilter IFilter implementing instance.