Метод addSource
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
11–29
~/bitrix/modulesim/lib/V2/Public/Message/BlocksBuilder/Field/Sources.php
Исходный код
Сигнатура метода
public function addSource(int $id, string $url, ?string $title = null, ?string $description = null): self
Возвращает:
self
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
-
|
-
|
$url
|
string
|
-
|
-
|
$title
|
?string
|
null
|
-
|
$description
|
?string
|
null
|
-
|