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

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

 sonet_sortlen ($a, $b)
 __construct ($strLang=False, $pathToSmile=false)
 convert ($text, $arImages=array(), $allow=array("HTML"=> "N", "ANCHOR"=> "Y", "BIU"=> "Y", "IMG"=> "Y", "QUOTE"=> "Y", "CODE"=> "Y", "FONT"=> "Y", "LIST"=> "Y", "SMILES"=> "Y", "NL2BR"=> "N", "VIDEO"=> "Y", "TABLE"=> "Y", "CUT_ANCHOR"=> "N", "SHORT_ANCHOR"=> "N"), $arParams=Array())
 convert_anchor_tag ($url, $text, $attributes=[])
 convert_image_tag ($url="", $params="")
 pre_convert_code_tag ($text="")
 convert_code_tag ($text="")
 convert_quote_tag ($text="")
 convert_font_attr ($attr, $value="", $text="")
 convert_video ($params)
Открытые члены унаследованные от 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_spoiler_tag ($text, $title='')
 convert_cut_tag ($text, $title='')
 convert_open_tag ($marker='quote')
 convert_close_tag ($marker='quote')
 convertImage ($matches)
 convertFont ($matches)
 convertFontSize ($matches)
 convertFontColor ($matches)
 stripAllTags ($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=[])
 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)

Поля данных

 $matchNum = 0
 $matchNum2 = 0
 $MaxStringLen = 0
Поля данных унаследованные от 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
static renderSpoiler ($text, $title='', $useTypography=false)
static cleanTag ($tag)
static closeTags ($html)
static clearAllTags ($text)
static TextParserHTMLToBBHack ($text, $TextParser)
Защищенные члены унаследованные от CTextParser
 initSmiles ()
 initSmilePatterns ()
 render_user ($fields)
 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 = []

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

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

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

◆ __construct()

__construct ( $strLang = False,
$pathToSmile = false )

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

Методы

◆ convert()

convert ( $text,
$arImages = array(),
$allow = array("HTML" => "N", "ANCHOR" => "Y", "BIU" => "Y", "IMG" => "Y", "QUOTE" => "Y", "CODE" => "Y", "FONT" => "Y", "LIST" => "Y", "SMILES" => "Y", "NL2BR" => "N", "VIDEO" => "Y", "TABLE" => "Y", "CUT_ANCHOR" => "N", "SHORT_ANCHOR" => "N"),
$arParams = Array() )

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

◆ convert_anchor_tag()

convert_anchor_tag ( $url,
$text,
$attributes = [] )

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

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

◆ convert_code_tag()

convert_code_tag ( $text = "")

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

◆ convert_font_attr()

convert_font_attr ( $attr,
$value = "",
$text = "" )

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

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

◆ convert_image_tag()

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

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

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

◆ convert_quote_tag()

convert_quote_tag ( $text = "")

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

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

◆ convert_video()

convert_video ( $params)

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

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

◆ pre_convert_code_tag()

pre_convert_code_tag ( $text = "")

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

◆ sonet_sortlen()

sonet_sortlen ( $a,
$b )

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

Поля

◆ $matchNum

$matchNum = 0

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

◆ $matchNum2

$matchNum2 = 0

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

◆ $MaxStringLen

$MaxStringLen = 0

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


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