Метод createCardBlock
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
158–174
~/bitrix/modulesim/lib/V2/Public/Message/BlocksBuilder/BlockItem.php
Исходный код
Сигнатура метода
public static function createCardBlock(string $title, ?string $imageUrl = null, ?string $text = null, ?Buttons $buttons = null, ?string $id = null): self
Возвращает:
self
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$title
|
string
|
-
|
-
|
$imageUrl
|
?string
|
null
|
-
|
$text
|
?string
|
null
|
-
|
$buttons
|
?Buttons
|
null
|
-
|
$id
|
?string
|
null
|
-
|