1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
invite.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Internals\Counter\Provider;
4
5use Bitrix\Calendar\Internals\Counter\CounterDictionary;
6
7class Invite implements Base
8{
9 private int $userId;
10 private int $entityId;
11
12 public function __construct(int $userId, int $entityId)
13 {
14 $this->userId = $userId;
15 $this->entityId = $entityId;
16 }
17
18 public function getValue(): int
19 {
20 return \CUserCounter::GetValue($this->userId, CounterDictionary::COUNTER_INVITES);
21 }
22}
__construct(int $userId, int $entityId)
Определения invite.php:12