3namespace Bitrix\Im\Call;
5use Bitrix\Im\Model\CallTable;
6use Bitrix\Im\V2\Call\CallFactory;
19 if (static::$calls[$id] instanceof
Call)
21 return static::$calls[$id];
24 $row = CallTable::getRowById($id);
30 static::$calls[$id] = CallFactory::createWithArray($row[
'PROVIDER'], $row);
32 return static::$calls[$id];
41 foreach (static::$calls as $call)
43 if ($call instanceof
Call && $call->
getUuid() === $uuid)
48 $row = CallTable::getList([
50 'filter' => [
'=UUID' => $uuid],
58 static::$calls[$row[
'ID']] = CallFactory::getCallInstance($row[
'PROVIDER'], $row);
60 return static::$calls[$row[
'ID']];
static getCallWithId(int $id)
static getCallWithUuid(string $uuid)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)