• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/cml2.php
  • Класс: CIBlockCMLImport
  • Вызов: CIBlockCMLImport::getStoreList
protected function getStoreList(): array
{
	$result = array();
	if ($this->bCatalog)
	{
		$iterator = CatalogStoreTable::getList(array(
			'select' => array('ID', 'XML_ID')
		));
		while ($row = $iterator->fetch())
		{
			$result[$row['XML_ID']] = $row['ID'];
		}
		unset($row);
		unset($iterator);
	}
	return $result;
}