Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
director.php
1<?php
2
3
5
7{
8 public function normalize(ObjectNormalizer $normalizer, \Bitrix\Sale\Order $order)
9 {
10 try{
11 $normalizer->init($order)
12 ->orderNormalize()
13 ->basketNormalize()
14 ->propertiesValueNormalize()
15 ->paymentsNormalize()
16 ->shipmentsNormalize()
17 ->tradeBindingsNormalize()
18 ->applyDiscountNormalize()
19 ->taxNormalize();
20 }
21 catch(\Bitrix\Main\SystemException $e)
22 {
23 return null;
24 }
25 return $normalizer->getFields();
26 }
27}
normalize(ObjectNormalizer $normalizer, \Bitrix\Sale\Order $order)
Definition director.php:8