Метод add
Сигнатура метода
public function add(string $code, string $moduleId, string $handlerClass, ?int $sort = null): AddResult
Возвращает:
AddResult
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$code
|
string
|
—
|
—
|
$moduleId
|
string
|
—
|
—
|
$handlerClass
|
string
|
—
|
—
|
$sort
|
?int
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Service/Communication/Controller/CategoryController.php
Расположение метода в файле
Строки
46–68