• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/component/elementlist.php
  • Класс: BitrixIblockComponentElementList
  • Вызов: ElementList::getFilteredOffersByProperty
protected function getFilteredOffersByProperty($iblockId)
{
	$offers = array();
	if (empty($this->storage['CATALOGS'][$iblockId]))
		return $offers;

	if (!$this->isMultiIblockMode())
	{
		$filter = $this->getOffersPropFilter($this->arParams['CUSTOM_FILTER']);
		if (!empty($filter))
		{
			$catalog = $this->storage['CATALOGS'][$iblockId];
			$offers = IblockComponentFilters::getFilteredOffersByProduct(
				$catalog['IBLOCK_ID'],
				$catalog['SKU_PROPERTY_ID'],
				array(
					'=PROPERTY_'.$catalog['SKU_PROPERTY_ID'] => array_keys($this->elementLinks),
					$filter
				)
			);
		}
	}

	return $offers;
}