Метод __construct

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

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

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

Исходный код

PHP
public

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

public function __construct(?int $id = null, ?Task $task = null, ?string $title = null, ?string $description = null, ?User $creator = null, ?UserCollection $responsibleCollection = null, ?int $deadlineAfter = null, ?int $startDatePlanAfter = null, ?int $endDatePlanAfter = null, ?bool $allowsChangeDeadline = null, ?bool $allowsTimeTracking = null, ?bool $matchesWorkTime = null, ?bool $needsControl = null, ?bool $replicate = null, ?ReplicateParams $replicateParams = null, ?int $replicateCount = null, ?Group $group = null, ?int $estimatedTime = null, ?array $dependsOn = null, ?TagCollection $tags = null, ?Task $parent = null, ?array $subTemplateIds = null, ?self $base = null, ?Type $type = null, ?array $fileIds = null, ?array $checklist = null, ?Priority $priority = null, ?UserCollection $accomplices = null, ?UserCollection $auditors = null, ?string $siteId = null, ?PermissionCollection $permissions = null, ?UserFieldCollection $userFields = null, ?array $crmItemIds = null, ?bool $containsRelatedTasks = null, ?bool $containsChecklist = null, ?bool $containsSubTemplates = null, ?string $link = null, ?string $archiveLink = null, ?array $rights = null, ?bool $multitask = null, ?bool $requireResult = null, ?int $baseTemplateId = null, ?int $groupId = null, ?SubTemplateCollection $subTemplates = null, ?string $status = null, ?string $xmlId = null, ?bool $addInReport = null, ?int $replicationCount = null, ?int $templateChildrenCount = null, ?string $scenario = null, ?int $taskId = null, ?int $parentId = null, ?bool $descriptionInBbcode = null, ?int $stageId = null)

Параметры

54
Имя Тип По умолчанию Флаги
$id ?int null
-
$task ?Task null
-
$title ?string null
-
$description ?string null
-
$creator ?User null
-
$responsibleCollection ?UserCollection null
-
$deadlineAfter ?int null
-
$startDatePlanAfter ?int null
-
$endDatePlanAfter ?int null
-
$allowsChangeDeadline ?bool null
-
$allowsTimeTracking ?bool null
-
$matchesWorkTime ?bool null
-
$needsControl ?bool null
-
$replicate ?bool null
-
$replicateParams ?ReplicateParams null
-
$replicateCount ?int null
-
$group ?Group null
-
$estimatedTime ?int null
-
$dependsOn ?array null
-
$tags ?TagCollection null
-
$parent ?Task null
-
$subTemplateIds ?array null
-
$base ?self null
-
$type ?Type null
-
$fileIds ?array null
-
$checklist ?array null
-
$priority ?Priority null
-
$accomplices ?UserCollection null
-
$auditors ?UserCollection null
-
$siteId ?string null
-
$permissions ?PermissionCollection null
-
$userFields ?UserFieldCollection null
-
$crmItemIds ?array null
-
$containsRelatedTasks ?bool null
-
$containsChecklist ?bool null
-
$containsSubTemplates ?bool null
-
$link ?string null
-
$archiveLink ?string null
-
$rights ?array null
-
$multitask ?bool null
-
$requireResult ?bool null
-
$baseTemplateId ?int null
-
$groupId ?int null
-
$subTemplates ?SubTemplateCollection null
-
$status ?string null
-
$xmlId ?string null
-
$addInReport ?bool null
-
$replicationCount ?int null
-
$templateChildrenCount ?int null
-
$scenario ?string null
-
$taskId ?int null
-
$parentId ?int null
-
$descriptionInBbcode ?bool null
-
$stageId ?int null
-