|
| const | ACTION_DOWNLOAD_FILE = '/bitrix/tools/disk/uf.php?attachedId=#attachedId#&action=download&ncc=1' |
См. определение в файле parser.php строка 8
◆ convertText()
| convertText |
( |
string | $text | ) |
|
|
staticprotected |
Returns converted to html bb text.
- Аргументы
-
| string | $text | Text to convert. |
- Возвращает
- string
См. определение в файле parser.php строка 20
◆ getBlockFromNode()
Returns block info from DOM Node.
- Аргументы
-
| DOM\Node | $node | Node instance. |
| array | $params | Additional params. |
- Возвращает
- array|null
См. определение в файле parser.php строка 144
◆ getImgContent()
| getImgContent |
( |
| $attacheId, |
|
|
array | $files = [] ) |
|
staticprotected |
Returns img content by attache id.
- Аргументы
-
| int | string | $attacheId | Attache id. |
| array | $files | Files array. |
- Возвращает
- array|null
См. определение в файле parser.php строка 69
◆ getVideoContent()
| getVideoContent |
( |
string | $videoSrc | ) |
|
|
staticprotected |
Returns video data by video src.
- Аргументы
-
| string | $videoSrc | Video source url. |
- Возвращает
- array|null
См. определение в файле parser.php строка 47
◆ replaceFilesInContent()
| replaceFilesInContent |
( |
string | $text, |
|
|
array | $files = [] ) |
|
staticprotected |
Replaces files in text content.
- Аргументы
-
| string | $text | Content. |
| array | $files | Files array. |
- Возвращает
- string
См. определение в файле parser.php строка 106
◆ textToBlocks()
| textToBlocks |
( |
string | $text, |
|
|
array | $params = [] ) |
|
static |
Converts bb text to semantic blocks.
- Аргументы
-
| string | $text | BB text. |
| array | $params | Additional params. |
- Возвращает
- array
См. определение в файле parser.php строка 212
◆ ACTION_DOWNLOAD_FILE
| const ACTION_DOWNLOAD_FILE = '/bitrix/tools/disk/uf.php?attachedId=#attachedId#&action=download&ncc=1' |
Download URL for files in text.
См. определение в файле parser.php строка 13
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/landing/lib/note/source/parser.php