Метод createFromHtmlString
Сигнатура метода
public static function createFromHtmlString(string $html, string $idPrefix = '', array $textProperties = [], ?string $delimiter = null): LineOfTextBlocks
Возвращает:
LineOfTextBlocks
Описание
Convert simple html string into set of Text and Link content blocks Only tags <a> and <b> are supported Does not support nested tags
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$html
|
string
|
—
|
—
|
$idPrefix
|
string
|
''
|
—
|
$textProperties
|
array
|
[]
|
—
|
$delimiter
|
?string
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Service/Timeline/Layout/Body/ContentBlock/ContentBlockFactory.php
Расположение метода в файле
Строки
33–111