Метод __construct

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

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

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

Исходный код

PHP
public

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

public function __construct(?int $id = null, ?int $taskId = null, ?string $text = null, ?User $author = null, ?int $createdAtTs = null, ?int $updatedAtTs = null, ?Status $status = null, ?Type $type = null, ?array $fileIds = null, ?int $previewId = null, ?array $rights = [], ?DiskFileCollection $files = null, ?int $messageId = null)

Параметры

13
Имя Тип По умолчанию Флаги
$id ?int null
-
$taskId ?int null
-
$text ?string null
-
$author ?User null
-
$createdAtTs ?int null
-
$updatedAtTs ?int null
-
$status ?Status null
-
$type ?Type null
-
$fileIds ?array null
-
$previewId ?int null
-
$rights ?array []
-
$files ?DiskFileCollection null
-
$messageId ?int null
-