1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
groupinvite.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Internals\Counter\Provider;
4
5
use Bitrix\Calendar\Internals\Counter\CounterDictionary;
6
7
final
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
}
$userId
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения
check_mail.php:18
Bitrix\Calendar\Internals\Counter\CounterDictionary\COUNTER_GROUP_INVITES_TPL
const COUNTER_GROUP_INVITES_TPL
Определения
counterdictionary.php:19
Bitrix\Calendar\Internals\Counter\Provider\GroupInvite
Определения
groupinvite.php:8
Bitrix\Calendar\Internals\Counter\Provider\GroupInvite\getValue
getValue()
Определения
groupinvite.php:16
Bitrix\Calendar\Internals\Counter\Provider\GroupInvite\__construct
__construct(private readonly int $userId, private readonly int $groupId)
Определения
groupinvite.php:9
Bitrix\Calendar\Internals\Counter\Provider\Base
Определения
base.php:6
bitrix
modules
calendar
lib
internals
counter
provider
groupinvite.php
Создано системой
1.14.0