Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
registry.php
1<?php
2
3namespace Bitrix\Im\Call;
4
7
9{
11 protected static array $calls = [];
12
17 public static function getCallWithId(int $id): ?Call
18 {
19 if (static::$calls[$id] instanceof Call)
20 {
21 return static::$calls[$id];
22 }
23
24 $row = CallTable::getRowById($id);
25 if (!$row)
26 {
27 return null;
28 }
29
30 static::$calls[$id] = CallFactory::createWithArray($row['PROVIDER'], $row);
31
32 return static::$calls[$id];
33 }
34
35 public static function getCallWithPublicId($publicId)
36 {
37
38 }
39
40 public static function getCallWithEntity($entityType, $entityId)
41 {
42
43 }
44}
static getCallWithPublicId($publicId)
Definition registry.php:35
static array $calls
Definition registry.php:11
static getCallWithId(int $id)
Definition registry.php:17
static getCallWithEntity($entityType, $entityId)
Definition registry.php:40