public function getFilterOptions(ConfigInterface $objConfig)
{
$arrProperties = $objConfig->getFields();
if (count($arrProperties) != 1) {
throw new \RuntimeException('objConfig must contain exactly one property to be retrieved.');
}
$objFilter = $this->prepareFilter($objConfig);
$arrValues = $this->getMetaModel()->getAttribute($arrProperties[0])->getFilterOptions($objFilter->getMatchingIds(), true);
$objCollection = new DefaultFilterOptionCollection();
foreach ($arrValues as $strKey => $strValue) {
$objCollection->add($strKey, $strValue);
}
return $objCollection;
}