Метод __construct

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

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

Путь к исходному файлу строки 15–36
~/bitrix/modulestasks/lib/V2/Internal/Integration/Disk/Entity/DiskFile.php

Исходный код

PHP
public

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

public function __construct(null|int|string $id = null, null|int|string $serverId = null, ?string $type = null, ?string $name = null, ?int $size = null, ?int $width = null, ?int $height = null, ?bool $isImage = null, ?bool $isVideo = null, ?bool $treatImageAsFile = null, ?string $downloadUrl = null, ?string $serverPreviewUrl = null, ?int $serverPreviewWidth = null, ?int $serverPreviewHeight = null, ?array $customData = null, ?array $viewerAttrs = null, ?User $owner = null)

Параметры

17
Имя Тип По умолчанию Флаги
$id null|int|string null
-
$serverId null|int|string null
-
$type ?string null
-
$name ?string null
-
$size ?int null
-
$width ?int null
-
$height ?int null
-
$isImage ?bool null
-
$isVideo ?bool null
-
$treatImageAsFile ?bool null
-
$downloadUrl ?string null
-
$serverPreviewUrl ?string null
-
$serverPreviewWidth ?int null
-
$serverPreviewHeight ?int null
-
$customData ?array null
-
$viewerAttrs ?array null
-
$owner ?User null
-