Метод create
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
16–42
~/bitrix/modulestasks/lib/V2/Internal/Service/Link/LinkBuilderFactory.php
Исходный код
Сигнатура метода
public function create(string $entityType, int $entityId = 0, int $ownerId = 0, string $context = PathMaker::PERSONAL_CONTEXT, string $action = PathMaker::DEFAULT_ACTION): ?PathMaker
Возвращает:
?PathMaker
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityType
|
string
|
-
|
-
|
$entityId
|
int
|
0
|
-
|
$ownerId
|
int
|
0
|
-
|
$context
|
string
|
PathMaker::PERSONAL_CONTEXT
|
-
|
$action
|
string
|
PathMaker::DEFAULT_ACTION
|
-
|