236 if(!self::$ALL_DESCRIPTIONS[LANGUAGE_ID])
238 IncludeModuleLangFile(__FILE__);
239 self::$ALL_DESCRIPTIONS[LANGUAGE_ID] = array(
240 self::OrderIsPayed => GetMessage(
'SALE_COLLISION_TYPE_ORDER_IS_PAYED'),
241 self::OrderIsShipped => GetMessage(
'SALE_COLLISION_TYPE_ORDER_IS_SHIPPED'),
242 self::OrderFinalStatus => GetMessage(
'SALE_COLLISION_TYPE_ORDER_FINAL_STATUS'),
243 self::ShipmentIsShipped => GetMessage(
'SALE_COLLISION_TYPE_SHIPMENT_IS_SHIPPED'),
244 self::ShipmentBasketItemNotFound => GetMessage(
'SALE_COLLISION_TYPE_SHIPMENT_BASKET_ITEM_NOT_FOUND'),
245 self::ShipmentBasketItemQuantityError => GetMessage(
'SALE_COLLISION_TYPE_SHIPMENT_BASKET_ITEM_QUANTITY_ERROR'),
246 self::ShipmentBasketItemsModify => GetMessage(
'SALE_COLLISION_TYPE_SHIPMENT_BASKET_ITEMS_MODIFY'),
247 self::OrderShipmentItemsModify => GetMessage(
'SALE_COLLISION_TYPE_ORDER_SHIPMENT_ITEMS_MODIFY'),
248 self::ShipmentBasketItemsModifyError => GetMessage(
'SALE_COLLISION_TYPE_SHIPMENT_BASKET_ITEMS_MODIFY_ERROR'),
249 self::OrderShipmentItemsModifyError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_SHIPMENT_ITEMS_MODIFY_ERROR'),
250 self::PaymentIsPayed => GetMessage(
'SALE_COLLISION_TYPE_PAYMENT_IS_PAYED'),
251 self::OrderShipmentDeleted => GetMessage(
'SALE_COLLISION_TYPE_ORDER_SHIPMENT_DELETED'),
252 self::OrderShipmentDeletedError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_SHIPMENT_DELETED_ERROR'),
253 self::OrderPaymentDeleted => GetMessage(
'SALE_COLLISION_TYPE_ORDER_PAYMENT_DELETED'),
254 self::OrderPaymentDeletedError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_PAYMENT_DELETED_ERROR'),
255 self::OrderBasketItemTaxValueError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_BASKET_ITEM_TAX_VALUE_ERROR'),
256 self::OrderSynchronizeBasketItemsModify => GetMessage(
'SALE_COLLISION_TYPE_ORDER_SYNCHRONIZE_BASKET_ITEMS_MODIFY'),
257 self::OrderPayedByStatusError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_PAYED_BY_STATUS_ERROR'),
258 self::OrderBasketItemTypeError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_BASKET_ITEM_TYPE_ERROR'),
259 self::PaymentCashBoxCheckNotFound => GetMessage(
'SALE_COLLISION_TYPE_PAYMENT_CASH_BOX_CHECK_NOT_FOUND'),
260 self::OrderSynchronizeBasketItemsModifyError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_SYNCHRONIZE_BASKET_ITEMS_MODIFY_ERROR'),
261 self::BeforeUpdatePaymentDeletedError => GetMessage(
'SALE_COLLISION_TYPE_BEFORE_UPDATE_PAYMENT_DELETED_ERROR'),
262 self::BeforeUpdateShipmentDeletedError => GetMessage(
'SALE_COLLISION_TYPE_BEFORE_UPDATE_SHIPMENT_DELETED_ERROR'),
263 self::OrderShippedByStatusError => GetMessage(
'SALE_COLLISION_TYPE_ORDER_SHIPPED_BY_STATUS_ERROR'),
264 self::OrderBasketItemsCurrencyModify => GetMessage(
'SALE_COLLISION_TYPE_ORDER_BASKET_ITEMS_CURRENCY_MODIFY'),
267 return self::$ALL_DESCRIPTIONS[LANGUAGE_ID];
308 if(!self::$ALL_ERROR_GROUPS)
310 self::$ALL_ERROR_GROUPS = array(
311 self::OrderIsPayed => self::GROUP_E_ERROR,
312 self::OrderIsShipped => self::GROUP_E_ERROR,
313 self::OrderFinalStatus => self::GROUP_E_ERROR,
314 self::ShipmentIsShipped => self::GROUP_E_ERROR,
315 self::ShipmentBasketItemNotFound => self::GROUP_E_WARNING,
316 self::ShipmentBasketItemQuantityError => self::GROUP_E_WARNING,
317 self::ShipmentBasketItemsModify => self::GROUP_E_WARNING,
318 self::OrderShipmentItemsModify => self::GROUP_E_WARNING,
319 self::ShipmentBasketItemsModifyError => self::GROUP_E_WARNING,
320 self::OrderShipmentItemsModifyError => self::GROUP_E_WARNING,
321 self::PaymentIsPayed => self::GROUP_E_ERROR,
322 self::OrderShipmentDeleted => self::GROUP_E_WARNING,
323 self::OrderShipmentDeletedError => self::GROUP_E_WARNING,
324 self::OrderPaymentDeleted => self::GROUP_E_WARNING,
325 self::OrderPaymentDeletedError => self::GROUP_E_WARNING,
326 self::OrderBasketItemTaxValueError => self::GROUP_E_WARNING,
327 self::OrderSynchronizeBasketItemsModify => self::GROUP_E_WARNING,
328 self::OrderPayedByStatusError => self::GROUP_E_WARNING,
329 self::OrderBasketItemTypeError => self::GROUP_E_WARNING,
330 self::PaymentCashBoxCheckNotFound => self::GROUP_E_WARNING,
331 self::OrderSynchronizeBasketItemsModifyError => self::GROUP_E_ERROR,
332 self::BeforeUpdatePaymentDeletedError => self::GROUP_E_ERROR,
333 self::BeforeUpdateShipmentDeletedError => self::GROUP_E_ERROR,
334 self::OrderShippedByStatusError => self::GROUP_E_WARNING,
335 self::OrderBasketItemsCurrencyModify => self::GROUP_E_WARNING,
338 return self::$ALL_ERROR_GROUPS;