Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
CallType.php
1<?php
2
4
5class CallType extends CrmType
6{
7 protected function __construct(string $entityData1)
8 {
9 parent::__construct($entityData1);
10 }
11
12 protected function extractCrmData(string $rawCrmData): void
13 {
14 $separatedEntityId = explode('|', $rawCrmData);
15 $this->crmType = $separatedEntityId[1] ?? '';
16 $this->crmId = (int)($separatedEntityId[2] ?? 0);
17 }
18}