1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
groupinvite.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Internals\Counter\Provider;
4
5use Bitrix\Calendar\Internals\Counter\CounterDictionary;
6
7final class GroupInvite implements Base
8{
9 public function __construct(
10 private readonly int $userId,
11 private readonly int $groupId
12 )
13 {
14 }
15
16 public function getValue(): int
17 {
18 return \CUserCounter::GetValue(
19 user_id: $this->userId,
20 code: sprintf(CounterDictionary::COUNTER_GROUP_INVITES_TPL, $this->groupId),
21 );
22 }
23}
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
__construct(private readonly int $userId, private readonly int $groupId)
Определения groupinvite.php:9