Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
director.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Rest\Normalizer
;
5
6
class
Director
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
}
Bitrix\Main\SystemException
Definition
exception.php:8
Bitrix\Sale\Helpers\Order
Definition
order.php:10
Bitrix\Sale\Rest\Normalizer\Director
Definition
director.php:7
Bitrix\Sale\Rest\Normalizer\Director\normalize
normalize(ObjectNormalizer $normalizer, \Bitrix\Sale\Order $order)
Definition
director.php:8
Bitrix\Sale\Rest\Normalizer\ObjectNormalizer
Definition
objectnormalizer.php:19
Bitrix\Sale\Rest\Normalizer\ObjectNormalizer\init
init(\Bitrix\Sale\Order $order)
Definition
objectnormalizer.php:29
Bitrix\Sale\Rest\Normalizer\ObjectNormalizer\getFields
getFields()
Definition
objectnormalizer.php:200
Bitrix\Sale\Rest\Normalizer
Definition
director.php:4
Bitrix
Sale
modules
sale
lib
rest
normalizer
director.php
Создано системой
1.10.0