• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/propertyindex/facet.php
  • Класс: BitrixIblockPropertyIndexFacet
  • Вызов: Facet::getFilterPrices
protected function getFilterPrices()
{
	if (!isset($this->priceFilter))
	{
		$this->priceFilter = array();
		if (self::$catalog)
		{
			$priceList = CatalogGroupTable::getList(array(
				'select' => array('ID'),
				'order' => array('ID' => 'ASC')
			));
			while($price = $priceList->fetch())
			{
				$this->priceFilter[] = (int)$price['ID'];
			}
			unset($price, $priceList);
		}
	}
	return $this->priceFilter;
}