Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
14–26
~/bitrix/modulestasks/lib/V2/Public/Command/Task/Attention/ViewCommand.php
Исходный код
Сигнатура метода
public function __construct(int $taskId, int $userId, ?int $viewedTs = null, bool $isRealView = false, bool $sendPush = true, bool $updateTopicLastVisit = true)
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$taskId
|
int
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$viewedTs
|
?int
|
null
|
-
|
$isRealView
|
bool
|
false
|
-
|
$sendPush
|
bool
|
true
|
-
|
$updateTopicLastVisit
|
bool
|
true
|
-
|