Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
13–33
~/bitrix/modulestasks/lib/V2/Public/Provider/Params/Template/TemplateParams.php
Исходный код
Сигнатура метода
public function __construct(int $templateId, int $userId, bool $group = true, bool $members = true, bool $checkLists = true, bool $crm = true, bool $tags = true, bool $subTemplates = true, bool $userFields = true, bool $relatedTasks = true, bool $permissions = true, bool $parent = true, bool $checkTemplateAccess = true, bool $checkGroupAccess = true, bool $checkCrmAccess = true, bool $params = true)
Параметры
16| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$group
|
bool
|
true
|
-
|
$members
|
bool
|
true
|
-
|
$checkLists
|
bool
|
true
|
-
|
$crm
|
bool
|
true
|
-
|
$tags
|
bool
|
true
|
-
|
$subTemplates
|
bool
|
true
|
-
|
$userFields
|
bool
|
true
|
-
|
$relatedTasks
|
bool
|
true
|
-
|
$permissions
|
bool
|
true
|
-
|
$parent
|
bool
|
true
|
-
|
$checkTemplateAccess
|
bool
|
true
|
-
|
$checkGroupAccess
|
bool
|
true
|
-
|
$checkCrmAccess
|
bool
|
true
|
-
|
$params
|
bool
|
true
|
-
|