Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
13–46
~/bitrix/modulestasks/lib/V2/Public/Provider/Params/TaskParams.php
Исходный код
Сигнатура метода
public function __construct(int $taskId, int $userId, bool $group = true, bool $flow = true, bool $stage = true, bool $members = true, bool $checkLists = true, bool $tags = true, bool $crm = true, bool $email = true, bool $subTasks = true, bool $relatedTasks = true, bool $gantt = true, bool $placements = true, bool $containsCommentFiles = true, bool $favorite = true, bool $options = true, bool $parameters = true, bool $results = true, bool $reminders = true, bool $userFields = true, bool $checkTaskAccess = true, bool $checkGroupAccess = true, bool $checkFlowAccess = true, bool $checkCrmAccess = true, bool $checkParentAccess = true, bool $view = false, bool $scenarios = true, bool $templateReplication = true)
Параметры
29| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$taskId
|
int
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$group
|
bool
|
true
|
-
|
$flow
|
bool
|
true
|
-
|
$stage
|
bool
|
true
|
-
|
$members
|
bool
|
true
|
-
|
$checkLists
|
bool
|
true
|
-
|
$tags
|
bool
|
true
|
-
|
$crm
|
bool
|
true
|
-
|
$email
|
bool
|
true
|
-
|
$subTasks
|
bool
|
true
|
-
|
$relatedTasks
|
bool
|
true
|
-
|
$gantt
|
bool
|
true
|
-
|
$placements
|
bool
|
true
|
-
|
$containsCommentFiles
|
bool
|
true
|
-
|
$favorite
|
bool
|
true
|
-
|
$options
|
bool
|
true
|
-
|
$parameters
|
bool
|
true
|
-
|
$results
|
bool
|
true
|
-
|
$reminders
|
bool
|
true
|
-
|
$userFields
|
bool
|
true
|
-
|
$checkTaskAccess
|
bool
|
true
|
-
|
$checkGroupAccess
|
bool
|
true
|
-
|
$checkFlowAccess
|
bool
|
true
|
-
|
$checkCrmAccess
|
bool
|
true
|
-
|
$checkParentAccess
|
bool
|
true
|
-
|
$view
|
bool
|
false
|
-
|
$scenarios
|
bool
|
true
|
-
|
$templateReplication
|
bool
|
true
|
-
|