См. определение в файле editor.php строка 19
◆ __construct()
Create editor object.
- Аргументы
-
См. определение в файле editor.php строка 228
◆ createInstance()
| createInstance |
( |
| $params | ) |
|
|
static |
Return editor object
- Аргументы
-
- Возвращает
- Editor
См. определение в файле editor.php строка 218
◆ fillDocumentBySliceContent()
| fillDocumentBySliceContent |
( |
Document | $document, |
|
|
| $string, |
|
|
| $encoding = null ) |
|
static |
Fill template(as a DOM Document) by content.
- Аргументы
-
| Document | $document | Document. |
| string | $string | Content string. |
| string | $encoding | |
- Возвращает
- boolean
- См. также
- \Bitrix\Fileman\Block\Content\Engine::fillHtmlTemplate
См. определение в файле editor.php строка 1186
◆ fillTemplateBySliceContent()
| fillTemplateBySliceContent |
( |
| $template, |
|
|
| $string, |
|
|
| $encoding = null ) |
|
static |
Fill template(as a HTML) by slice content. Result is string.
- Аргументы
-
| string | $template | |
| string | $string | Content string. |
| string | $encoding | |
- Возвращает
- string
- См. также
- \Bitrix\Fileman\Block\Content\Engine::fillHtmlTemplate
См. определение в файле editor.php строка 1171
◆ getComponentList()
◆ getComponentListPlain()
| getComponentListPlain |
( |
| $list | ) |
|
|
protected |
◆ getComponentTree()
◆ getDefaultBlockList()
Return list of default blocks
- Возвращает
- array
См. определение в файле editor.php строка 338
◆ getDefaultToolList()
Return list of default tools, uses for block changing
- Возвращает
- array
См. определение в файле editor.php строка 382
◆ getHtmlForEditor()
| getHtmlForEditor |
( |
| $html, |
|
|
| $charset = null ) |
|
static |
Return received string, that php changed in special format for block editor.
- Аргументы
-
| string | $html | |
| string | $charset | |
- Возвращает
- string $html
См. определение в файле editor.php строка 1103
◆ getUI()
| getUI |
( |
| $id, |
|
|
array | $values ) |
Return html of interface part.
- Аргументы
-
- Возвращает
- string
См. определение в файле editor.php строка 907
◆ isAvailableRussian()
Return true if can use Russian services.
- Возвращает
- bool
См. определение в файле editor.php строка 355
◆ isContentSupported()
| isContentSupported |
( |
| $content | ) |
|
|
static |
Check string for the presence of tag attributes that indicates supporting of block editor
- Аргументы
-
- Возвращает
- boolean
См. определение в файле editor.php строка 1197
◆ isHtmlDocument()
| isHtmlDocument |
( |
| $content | ) |
|
|
static |
Check string for the presence of html
- Аргументы
-
- Возвращает
- bool
См. определение в файле editor.php строка 1215
◆ isNotAvailableInRussian()
| isNotAvailableInRussian |
( |
| ) |
|
|
static |
◆ replaceCharset()
| replaceCharset |
( |
| $html, |
|
|
| $charset = '#CHARSET#', |
|
|
| $add = false ) |
|
static |
Replace charset in HTML string.
- Аргументы
-
| string | $html | |
| string | $charset | |
| bool | $add | |
- Возвращает
- string $html
См. определение в файле editor.php строка 1136
◆ setBlockList()
| setBlockList |
( |
array | $blocks | ) |
|
Set custom blocks
- Аргументы
-
- Возвращает
- void
См. определение в файле editor.php строка 266
◆ setComponentFilter()
| setComponentFilter |
( |
array | $componentFilter = null | ) |
|
Set components filter
- Аргументы
-
- Возвращает
- void
См. определение в файле editor.php строка 1241
◆ setToolList()
| setToolList |
( |
array | $tools | ) |
|
Set custom tools
- Аргументы
-
- Возвращает
- void
См. определение в файле editor.php строка 328
◆ show()
Return html for showing editor and include all resources
- Возвращает
- string
См. определение в файле editor.php строка 1037
◆ showEditor()
Return html of editor interface without resources.
- Возвращает
- string
См. определение в файле editor.php строка 926
◆ $blocks
◆ $charset
◆ $componentFilter
| $componentFilter = array() |
|
protected |
◆ $componentsAsBlocks
| $componentsAsBlocks = array() |
◆ $id
◆ $isTemplateMode
◆ $isUserHavePhpAccess
◆ $ownResultId
◆ $previewModes
◆ $previewUrl
◆ $saveFileUrl
◆ $site
◆ $tabs
◆ $templateId
◆ $templateType
◆ $tools
◆ $uiPatterns
◆ $url
◆ $useLightTextEditor
◆ BLOCK_COUNT_PER_PAGE
| CONST BLOCK_COUNT_PER_PAGE = 14 |
◆ BLOCK_PHP_ATTR
| CONST BLOCK_PHP_ATTR = 'data-bx-editor-php-slice' |
◆ BLOCK_PLACE_ATTR
| CONST BLOCK_PLACE_ATTR = 'data-bx-block-editor-place' |
◆ BLOCK_PLACE_ATTR_DEF_VALUE
| CONST BLOCK_PLACE_ATTR_DEF_VALUE = 'body' |
◆ SLICE_SECTION_ID
| CONST SLICE_SECTION_ID = 'BX_BLOCK_EDITOR_EDITABLE_SECTION' |
◆ STYLIST_TAG_ATTR
| CONST STYLIST_TAG_ATTR = 'data-bx-stylist-container' |
Объявления и описания членов класса находятся в файле: