• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/v2/Section/SectionCollection.php
  • Класс: BitrixCatalogv2SectionSectionCollection
  • Вызов: SectionCollection::filterValues
private function filterValues(array $values): array
{
	$filteredValues = [];

	foreach ($values as $value)
	{
		if (is_numeric($value))
		{
			$filteredValues[] = (int)$value;
		}
	}

	return array_unique($filteredValues);
}