• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/import/compiler/compiler.php
  • Класс: BitrixSaleLocationImportCompileris
  • Вызов: is::fiasFindPath
private function fiasFindPath($aoguid)
{
	$pId = $aoguid;

	while($pId && $res = DBFiasTable::getList(array('filter' => array(
		'AOGUID' => $pId,
		'ACTSTATUS' => '1',
		'LIVESTATUS' => '1'
	)))->fetch())
	{
		$this->output($res);
		if($res['PARENTGUID'])
			$pId = $res['PARENTGUID'];
		else
			$pId = false;
	}
}