• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/delivery/restrictions/bylocation.php
  • Класс: BitrixSaleDeliveryRestrictionsByLocation
  • Вызов: ByLocation::getParamsStructure
static function getParamsStructure($deliveryId = 0)
{

	$result =  array(
		"LOCATION" => array(
			"TYPE" => "LOCATION_MULTI"
			//'LABEL' => Loc::getMessage("SALE_DLVR_RSTR_BY_LOCATION_LOC"),
		)
	);

	if($deliveryId > 0 )
		$result["LOCATION"]["DELIVERY_ID"] = $deliveryId;

	return $result;
}