Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
deliverysystem.php
1<?php
2
3
5
6
8
9class DeliverySystem extends Entity
10{
11 public function getFieldsByExternalId($xmlId)
12 {
13 if($xmlId === "")
14 {
15 return null;
16 }
17
18 foreach(\Bitrix\Sale\Delivery\Services\Manager::getActiveList() as $row)
19 {
20 if($xmlId == $row['XML_ID'])
21 return $row['ID'];
22 }
23
24 return null;
25 }
26
27}