1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
commentpush.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Bizproc\Integration\Push;
4
5
final
class
CommentPush
extends
BasePush
6
{
7
protected
static
function
getCommand
(): string
8
{
9
return
'comment'
;
10
}
11
12
public
static
function
pushCounter
(mixed $workflowId,
int
$userId
,
Dto
\UserCounter
$counter
): void
13
{
14
$command = static::getCommand();
15
16
$push =
new
PushWorker
();
17
$push->sendLast(
18
"{$command}-{$workflowId}-{$userId}"
,
19
$command,
20
[
21
'workflowId'
=> $workflowId,
22
'counter'
=> (
array
)
$counter
23
],
24
[
$userId
],
25
);
26
}
27
}
$userId
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения
check_mail.php:18
Bitrix\Bizproc\Integration\Push\BasePush
Определения
basepush.php:6
Bitrix\Bizproc\Integration\Push\CommentPush
Определения
commentpush.php:6
Bitrix\Bizproc\Integration\Push\CommentPush\getCommand
static getCommand()
Определения
commentpush.php:7
Bitrix\Bizproc\Integration\Push\CommentPush\pushCounter
static pushCounter(mixed $workflowId, int $userId, Dto\UserCounter $counter)
Определения
commentpush.php:12
Bitrix\Bizproc\Integration\Push\PushWorker
Определения
pushworker.php:11
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Bizproc\Integration\Push\Dto
Определения
usercounter.php:3
$counter
$counter
Определения
options.php:5
bitrix
modules
bizproc
lib
integration
push
commentpush.php
Создано системой
1.14.0