Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
29–66
~/bitrix/modulestasks/lib/V2/Internal/Service/Task/Action/Update/Config/UpdateConfig.php
Исходный код
Сигнатура метода
public function __construct(int $userId, bool $needCorrectDatePlan = true, bool $checkFileRights = false, bool $correctDatePlanDependent = true, array $skipTimeZoneFields = [], bool $needAutoclose = true, bool $skipNotifications = false, bool $skipRecount = false, array $byPassParameters = [], bool $skipComments = false, bool $skipPush = false, bool $skipBP = false, bool $useConsistency = false, ?string $eventGuid = null, RuntimeData $runtime = new RuntimeData(), ?AnalyticsData $analyticsData = null, bool $fromAi = false)
Параметры
17| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|
$needCorrectDatePlan
|
bool
|
true
|
-
|
$checkFileRights
|
bool
|
false
|
-
|
$correctDatePlanDependent
|
bool
|
true
|
-
|
$skipTimeZoneFields
|
array
|
[]
|
-
|
$needAutoclose
|
bool
|
true
|
-
|
$skipNotifications
|
bool
|
false
|
-
|
$skipRecount
|
bool
|
false
|
-
|
$byPassParameters
|
array
|
[]
|
-
|
$skipComments
|
bool
|
false
|
-
|
$skipPush
|
bool
|
false
|
-
|
$skipBP
|
bool
|
false
|
-
|
$useConsistency
|
bool
|
false
|
-
|
$eventGuid
|
?string
|
null
|
-
|
$runtime
|
RuntimeData
|
new RuntimeData()
|
-
|
$analyticsData
|
?AnalyticsData
|
null
|
-
|
$fromAi
|
bool
|
false
|
-
|