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

Открытые члены

 __construct ($lang=false, $pathToSmiles='', $type=false, $mode='full')
 convert ($text, $allow=array(), $type="html", $arFiles=false, $attributes=[])
 convert4mail ($text, $files=false, $allow=array(), $params=array())
 ParserFile (&$text, &$obj, $type="html")
 convert_open_tag ($marker="quote")
 convert_close_tag ($marker="quote")
 convert_image_tag ($url="", $params="")
 convert_attachment ($fileID="", $p="", $type="", $text="")
 convert_to_rss ( $text, $arImages=Array(), $arAllow=Array())
 render_user ($fields)
Открытые члены унаследованные от CTextParser
 __construct ()
 getAnchorSchemes ()
 setAnchorSchemes ($schemes)
 convertText ($text, $attributes=[])
 defendTags ($matches)
 defended_tags ($text, $tag='replace')
 convert4mail ($text)
 convertVideo ($matches)
 convertEmoticon ($matches)
 convert_emoticon ($code='', $image='', $description='', $width='', $height='', $descriptionDecode=false, $imageDefinition=CSmile::IMAGE_SD)
 convertCode ($matches)
 convertQuote ($matches)
 convert_quote_tag ($text='')
 convert_spoiler_tag ($text, $title='')
 convert_cut_tag ($text, $title='')
 convertImage ($matches)
 convertFont ($matches)
 convertFontSize ($matches)
 convertFontColor ($matches)
 stripAllTags ($text)
 convert_font_attr ($attr, $value="", $text="")
 convert_userfields ($matches)
 convert_user ($userId=0, $userName='')
 convert_project (array $matches)
 convert_department (array $matches)
 getTagPattern ()
 detectTags ($text)
 convert_tag ($tag=[])
 wrap_long_words ($text='')
 partWords ($matches)
 part_long_words ($str)
 cutWords ($matches)
 cut_long_words ($str)
 convertAnchor ($matches, $attributes=[])
 convert_anchor_tag ($url, $text, $attributes=[])
 preconvertAnchor ($matches, $attributes=[])
 pre_convert_anchor_tag ($url, $text='', $str='', $attributes=[])
 post_convert_anchor_tag ($str)
 strip_words ($string, $count)
 html_cut ($html, $size)
 convertHTMLToBB ($html='', $allow=null)

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

static GetFeatures ($arForum)
static GetEditorButtons ($arParams)
static GetEditorToolbar ($arParams)
Открытые статические члены унаследованные от CTextParser
static renderSpoiler ($text, $title='', $useTypography=false)
static cleanTag ($tag)
static closeTags ($html)
static clearAllTags ($text)
static TextParserHTMLToBBHack ($text, $TextParser)

Поля данных

 $image_params = array()
 $pathToUser = ""
 $imageWidth = 300
 $imageHeight = 300
 $maxStringLen = 60
 $imageHtmlWidth = 0
 $imageHtmlHeight = 0
 $imageTemplate = "popup_image"
 $component = null
 $smilesGallery = 0
 $arFilesIDParsed = array()
 $MaxStringLen = null
Поля данных унаследованные от CTextParser
 $type = 'html'
 $serverName = ''
 $preg
 $imageWidth = 800
 $imageHeight = 800
 $maxStringLen = 0
 $maxAnchorLength = 40
 $arFontSize
 $allow
 $anchorType = 'html'
 $smiles = null
 $smilesGallery = CSmileGallery::GALLERY_DEFAULT
 $bMobile = false
 $LAZYLOAD = 'N'
 $parser_nofollow = 'N'
 $link_target = '_blank'
 $authorName = ''
 $pathToUser = ''
 $pathToUserEntityType = false
 $pathToUserEntityId = false
 $useTypography = false

Дополнительные унаследованные члены

Защищенные члены унаследованные от CTextParser
 initSmiles ()
 initSmilePatterns ()
 convert_video ($arParams)
 render_project ($fields)
 render_department ($fields)
 parseSpaces ($matches)
 convertAttributes ($attributes)
Защищенные данные унаследованные от CTextParser
 $tagClasses
 $wordSeparator = "\\s.,;:!?\\#\\-\\*\\|\\[\\]\\‍(\\‍)\\{\\}"
 $smilePatterns = null
 $smileReplaces = null
 $defended_urls = []
 $anchorSchemes = null
 $userField
 $tagPattern = "/([\s]+|^)#([^\s,\.\[\]<>]+)/is"
 $pathToSmile = ''
 $ajaxPage
 $code_open = 0
 $code_error = 0
 $code_closed = 0
 $quote_open = 0
 $quote_error = 0
 $quote_closed = 0
Статические защищенные данные унаследованные от CTextParser
static $repoSmiles = []

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

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

Конструктор(ы)

◆ __construct()

__construct ( $lang = false,
$pathToSmiles = '',
$type = false,
$mode = 'full' )

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

Методы

◆ convert()

convert ( $text,
$allow = array(),
$type = "html",
$arFiles = false,
$attributes = [] )

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

◆ convert4mail()

convert4mail ( $text,
$files = false,
$allow = array(),
$params = array() )

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

◆ convert_attachment()

convert_attachment ( $fileID = "",
$p = "",
$type = "",
$text = "" )

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

◆ convert_close_tag()

convert_close_tag ( $marker = "quote")

Переопределяет метод предка CTextParser.

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

◆ convert_image_tag()

convert_image_tag ( $url = "",
$params = "" )

Переопределяет метод предка CTextParser.

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

◆ convert_open_tag()

convert_open_tag ( $marker = "quote")

Переопределяет метод предка CTextParser.

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

◆ convert_to_rss()

convert_to_rss ( $text,
$arImages = Array(),
$arAllow = Array() )

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

◆ GetEditorButtons()

GetEditorButtons ( $arParams)
static

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

◆ GetEditorToolbar()

GetEditorToolbar ( $arParams)
static

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

◆ GetFeatures()

GetFeatures ( $arForum)
static

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

◆ ParserFile()

ParserFile ( & $text,
& $obj,
$type = "html" )

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

◆ render_user()

render_user ( $fields)

Переопределяет метод предка CTextParser.

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

Поля

◆ $arFilesIDParsed

$arFilesIDParsed = array()

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

◆ $component

$component = null

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

◆ $image_params

$image_params = array()

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

◆ $imageHeight

$imageHeight = 300

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

◆ $imageHtmlHeight

$imageHtmlHeight = 0

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

◆ $imageHtmlWidth

$imageHtmlWidth = 0

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

◆ $imageTemplate

$imageTemplate = "popup_image"

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

◆ $imageWidth

$imageWidth = 300

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

◆ $MaxStringLen

$MaxStringLen = null

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

◆ $maxStringLen

$maxStringLen = 60

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

◆ $pathToUser

$pathToUser = ""

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

◆ $smilesGallery

$smilesGallery = 0

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


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