• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/import/import.php
  • Класс: BitrixSaleLocationImportImportProcess
  • Вызов: ImportProcess::getCachedBundle
private function getCachedBundle($id)
{
	$locationTable = LocationLocationTable::getTableName();

	$bundle = array();
	$res = $this->dbConnection->query("select ID from {$locationTable} where PARENT_ID = ".($id == 'root' ? '0' : intval($id)));
	while($item = $res->fetch())
		$bundle[] = $item['ID'];

	return $bundle;
}