Метод add
Сигнатура метода
protected function add(int $ownerTypeId, int $ownerId, string $content, array $filesList, ?int $authorId): ?int
Возвращает:
?int
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$ownerTypeId
|
int
|
—
|
—
|
$ownerId
|
int
|
—
|
—
|
$content
|
string
|
—
|
—
|
$filesList
|
array
|
—
|
—
|
$authorId
|
?int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/controller/timeline/comment.php
Расположение метода в файле
Строки
365–391