Метод __construct

public

Сигнатура метода

public function __construct(ProviderPayload $inputPayload, StorageFieldTransit $inputTransit, int $currentUserId = 0, int $rawCurrentUser = 0, int $executorId = 0, bool $isRestoration = false, bool $skipCurrentCalendarEvent = true, ?Scope $scope = null, bool $initiatedByCalendar = false, bool $preserveCreationTime = false, ?DateTime $customCreationTime = null, bool $skipCalendarEvent = false, bool $registerSonetEvent = false, array $moveBindingsMap = [], bool $skipAssociatedEntity = false, bool $skipDeadlineChange = false, ?AnalyticsEvent $analyticsEvent = null, ?array $actualItem = null, ?array $actualBindings = null, bool $movedToRecycleBin = false, ?bool $enableRecycleBin = null, ?int $recycleBinForceUserId = null, bool $skipStatistics = false, bool $skipBindings = false, bool $skipCommunications = false, bool $skipFiles = false, bool $skipUserActivitySync = false, bool $skipTasks = false, bool $skipBeforeHandler = false, bool $checkBindingsBeforeAutoComplete = false, string $entrySource = self::ENTRY_SOURCE_FACADE, bool $registerHistoryEvent = true, bool $checkPermissions = true, array $userFieldValues = [], array $calendarInput = [], array $incorrectMomentColumns = [], array $legacyOptions = [], bool $calledWithNoField = false)

Параметры

38
Имя Тип По умолчанию Флаги
$inputPayload ProviderPayload —
—
$inputTransit StorageFieldTransit —
—
$currentUserId int 0
—
$rawCurrentUser int 0
—
$executorId int 0
—
$isRestoration bool false
—
$skipCurrentCalendarEvent bool true
—
$scope ?Scope null
—
$initiatedByCalendar bool false
—
$preserveCreationTime bool false
—
$customCreationTime ?DateTime null
—
$skipCalendarEvent bool false
—
$registerSonetEvent bool false
—
$moveBindingsMap array []
—
$skipAssociatedEntity bool false
—
$skipDeadlineChange bool false
—
$analyticsEvent ?AnalyticsEvent null
—
$actualItem ?array null
—
$actualBindings ?array null
—
$movedToRecycleBin bool false
—
$enableRecycleBin ?bool null
—
$recycleBinForceUserId ?int null
—
$skipStatistics bool false
—
$skipBindings bool false
—
$skipCommunications bool false
—
$skipFiles bool false
—
$skipUserActivitySync bool false
—
$skipTasks bool false
—
$skipBeforeHandler bool false
—
$checkBindingsBeforeAutoComplete bool false
—
$entrySource string self::ENTRY_SOURCE_FACADE
—
$registerHistoryEvent bool true
—
$checkPermissions bool true
—
$userFieldValues array []
—
$calendarInput array []
—
$incorrectMomentColumns array []
—
$legacyOptions array []
—
$calledWithNoField bool false
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/ActivityOperationContext.php
Расположение метода в файле
Строки 106–151

Исходный код

PHP