Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
15–24
~/bitrix/modulestasks/lib/V2/Internal/Integration/Intranet/Entity/Absence.php
Исходный код
Сигнатура метода
public function __construct(int $id, int $userId, int $typeEnumId, DateTime $dateTimeFrom, DateTime $dateTimeTo, string $name = '')
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$typeEnumId
|
int
|
-
|
-
|
$dateTimeFrom
|
DateTime
|
-
|
-
|
$dateTimeTo
|
DateTime
|
-
|
-
|
$name
|
string
|
''
|
-
|