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

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

 killAllTags ($text)
Открытые члены унаследованные от forumTextParser
 __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)

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

Открытые статические члены унаследованные от forumTextParser
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)
Поля данных унаследованные от forumTextParser
 $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 строка 447

Методы

◆ killAllTags()

killAllTags ( $text)

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


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