• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/services/company/restrictions/location.php
  • Класс: BitrixSaleServicesCompanyRestrictionsLocation
  • Вызов: Location::getParamsStructure
static function getParamsStructure($entityId = 0)
{

	$result =  array(
		"LOCATION" => array(
			"TYPE" => "COMPANY_LOCATION_MULTI"
		)
	);

	if($entityId > 0 )
		$result["LOCATION"]["COMPANY_ID"] = $entityId;

	return $result;
}