1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс SliceConverter
Граф наследования:SliceConverter:
IConverter

Открытые статические члены

static isValid ($string)
static toArray ($string)
static toString (BlockContent $content)
static sanitize ($string)

Поля данных

CONST SLICE_SECTION_ID = 'BX_BLOCK_EDITOR_EDITABLE_SECTION'

Подробное описание

См. определение в файле sliceconverter.php строка 15

Методы

◆ isValid()

isValid ( $string)
static

Check string.

Аргументы
string$stringString.
Возвращает
bool

Замещает IConverter.

См. определение в файле sliceconverter.php строка 25

◆ sanitize()

sanitize ( $string)
static

Sanitize.

Аргументы
string$stringString.
Возвращает
string

См. определение в файле sliceconverter.php строка 99

◆ toArray()

toArray ( $string)
static

Parse string of sliced content to an array of content blocks.

Аргументы
string$stringString.
Возвращает
BlockContent

Замещает IConverter.

См. определение в файле sliceconverter.php строка 47

◆ toString()

toString ( BlockContent $content)
static

Convert block content to string.

Аргументы
BlockContent$contentBlock content.
Возвращает
string

См. определение в файле sliceconverter.php строка 78

Поля

◆ SLICE_SECTION_ID

CONST SLICE_SECTION_ID = 'BX_BLOCK_EDITOR_EDITABLE_SECTION'

См. определение в файле sliceconverter.php строка 17


Объявления и описания членов класса находятся в файле: