Метод __construct

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

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

Путь к исходному файлу строки 34–165
~/bitrix/modulestasks/lib/V2/Internal/Entity/Task.php

Исходный код

PHP
public

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

public function __construct(?int $id = null, ?string $title = null, ?string $description = null, ?string $descriptionChecksum = null, ?User $creator = null, ?int $createdTs = null, ?User $responsible = null, ?int $deadlineTs = null, ?bool $needsControl = null, ?int $startPlanTs = null, ?int $endPlanTs = null, ?array $fileIds = null, ?int $parentId = null, ?array $checklist = null, ?Group $group = null, ?Stage $stage = null, ?int $epicId = null, ?string $storyPoints = null, ?Flow $flow = null, ?Priority $priority = null, ?Status $status = null, ?int $statusChangedTs = null, ?UserCollection $accomplices = null, ?UserCollection $auditors = null, ?self $parent = null, ?array $subTaskIds = null, ?bool $containsChecklist = null, ?bool $containsSubTasks = null, ?bool $containsRelatedTasks = null, ?bool $containsGanttLinks = null, ?bool $containsPlacements = null, ?bool $containsCommentFiles = null, ?int $numberOfReminders = null, ?TimerCollection $timers = null, ?int $timeSpent = null, ?int $chatId = null, ?Chat $chat = null, ?int $plannedDuration = null, ?int $actualDuration = null, ?Duration $durationType = null, ?int $startedTs = null, ?int $estimatedTime = null, ?bool $replicate = null, ?ReplicateParams $replicateParams = null, ?Template $replicateTemplate = null, ?int $changedTs = null, ?User $changedBy = null, ?User $statusChangedBy = null, ?User $closedBy = null, ?int $closedTs = null, ?int $activityTs = null, ?string $guid = null, ?string $xmlId = null, ?string $exchangeId = null, ?string $exchangeModified = null, ?int $outlookVersion = null, ?Mark $mark = null, ?bool $allowsChangeDeadline = null, ?bool $allowsTimeTracking = null, ?bool $matchesWorkTime = null, ?bool $addInReport = null, ?bool $isMultitask = null, ?string $siteId = null, ?Template $forkedByTemplate = null, ?int $deadlineCount = null, ?bool $isZombie = null, ?string $declineReason = null, ?int $forumTopicId = null, ?TagCollection $tags = null, ?string $link = null, ?UserFieldCollection $userFields = null, ?array $rights = null, ?string $archiveLink = null, ?array $crmItemIds = null, ?CrmItemCollection $crmItems = null, ?ReminderCollection $reminders = null, ?ElapsedTime $elapsedTime = null, ?int $numberOfElapsedTimes = null, ?bool $requireResult = null, ?bool $matchesSubTasksTime = null, ?bool $autocompleteSubTasks = null, ?bool $allowsChangeDatePlan = null, ?array $inFavorite = null, ?array $inPin = null, ?array $inGroupPin = null, ?array $inMute = null, ?Source $source = null, ?array $dependsOn = null, ?array $ganttLinks = null, ?bool $containsResults = null, ?Email $email = null, ?DateTime $maxDeadlineChangeDate = null, ?int $maxDeadlineChanges = null, ?bool $requireDeadlineChangeReason = null, ?string $deadlineChangeReason = null, ?int $deadlineChangeCount = null, ?UserCollection $multiResponsibles = null, ?ScenarioCollection $scenarios = null, ?int $sprintId = null, ?int $backlogId = null, ?int $stageId = null, ?int $forumId = null, ?int $deadlineOrigTs = null, ?int $viewedDateTs = null, ?int $stagesId = null, ?bool $notViewed = null, ?bool $isMuted = null, ?bool $isRegular = null, ?bool $isPinned = null, ?int $forkByTemplateId = null, ?int $commentsCount = null, ?int $serviceCommentsCount = null, ?int $durationPlanSeconds = null, ?string $durationTypeAll = null, ?bool $isPinnedInGroup = null, ?GanttLinkCollection $links = null)

Параметры

116
Имя Тип По умолчанию Флаги
$id ?int null
-
$title ?string null
-
$description ?string null
-
$descriptionChecksum ?string null
-
$creator ?User null
-
$createdTs ?int null
-
$responsible ?User null
-
$deadlineTs ?int null
-
$needsControl ?bool null
-
$startPlanTs ?int null
-
$endPlanTs ?int null
-
$fileIds ?array null
-
$parentId ?int null
-
$checklist ?array null
-
$group ?Group null
-
$stage ?Stage null
-
$epicId ?int null
-
$storyPoints ?string null
-
$flow ?Flow null
-
$priority ?Priority null
-
$status ?Status null
-
$statusChangedTs ?int null
-
$accomplices ?UserCollection null
-
$auditors ?UserCollection null
-
$parent ?self null
-
$subTaskIds ?array null
-
$containsChecklist ?bool null
-
$containsSubTasks ?bool null
-
$containsRelatedTasks ?bool null
-
$containsGanttLinks ?bool null
-
$containsPlacements ?bool null
-
$containsCommentFiles ?bool null
-
$numberOfReminders ?int null
-
$timers ?TimerCollection null
-
$timeSpent ?int null
-
$chatId ?int null
-
$chat ?Chat null
-
$plannedDuration ?int null
-
$actualDuration ?int null
-
$durationType ?Duration null
-
$startedTs ?int null
-
$estimatedTime ?int null
-
$replicate ?bool null
-
$replicateParams ?ReplicateParams null
-
$replicateTemplate ?Template null
-
$changedTs ?int null
-
$changedBy ?User null
-
$statusChangedBy ?User null
-
$closedBy ?User null
-
$closedTs ?int null
-
$activityTs ?int null
-
$guid ?string null
-
$xmlId ?string null
-
$exchangeId ?string null
-
$exchangeModified ?string null
-
$outlookVersion ?int null
-
$mark ?Mark null
-
$allowsChangeDeadline ?bool null
-
$allowsTimeTracking ?bool null
-
$matchesWorkTime ?bool null
-
$addInReport ?bool null
-
$isMultitask ?bool null
-
$siteId ?string null
-
$forkedByTemplate ?Template null
-
$deadlineCount ?int null
-
$isZombie ?bool null
-
$declineReason ?string null
-
$forumTopicId ?int null
-
$tags ?TagCollection null
-
$link ?string null
-
$userFields ?UserFieldCollection null
-
$rights ?array null
-
$archiveLink ?string null
-
$crmItemIds ?array null
-
$crmItems ?CrmItemCollection null
-
$reminders ?ReminderCollection null
-
$elapsedTime ?ElapsedTime null
-
$numberOfElapsedTimes ?int null
-
$requireResult ?bool null
-
$matchesSubTasksTime ?bool null
-
$autocompleteSubTasks ?bool null
-
$allowsChangeDatePlan ?bool null
-
$inFavorite ?array null
-
$inPin ?array null
-
$inGroupPin ?array null
-
$inMute ?array null
-
$source ?Source null
-
$dependsOn ?array null
-
$ganttLinks ?array null
-
$containsResults ?bool null
-
$email ?Email null
-
$maxDeadlineChangeDate ?DateTime null
-
$maxDeadlineChanges ?int null
-
$requireDeadlineChangeReason ?bool null
-
$deadlineChangeReason ?string null
-
$deadlineChangeCount ?int null
-
$multiResponsibles ?UserCollection null
-
$scenarios ?ScenarioCollection null
-
$sprintId ?int null
-
$backlogId ?int null
-
$stageId ?int null
-
$forumId ?int null
-
$deadlineOrigTs ?int null
-
$viewedDateTs ?int null
-
$stagesId ?int null
-
$notViewed ?bool null
-
$isMuted ?bool null
-
$isRegular ?bool null
-
$isPinned ?bool null
-
$forkByTemplateId ?int null
-
$commentsCount ?int null
-
$serviceCommentsCount ?int null
-
$durationPlanSeconds ?int null
-
$durationTypeAll ?string null
-
$isPinnedInGroup ?bool null
-
$links ?GanttLinkCollection null
-