1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CSocNetTextParser

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

 sonet_sortlen ($a, $b)
 __construct ($strLang=False, $pathToSmile=false)
 convert ($text, $bPreview=True, $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"), $type="html")
 convert4mail ($text)
 convert_video ($params, $path)
 convert_emoticon ($code="", $image="", $description="", $servername="")
 pre_convert_code_tag ($text="")
 convert_code_tag ($text="", $type="html")
 convert_quote_tag ($text="", $type="html")
 convert_open_tag ($marker="quote", $type="html")
 convert_close_tag ($marker="quote")
 convert_image_tag ($url="", $type="html")
 convert_font_attr ($attr, $value="", $text="")
 wrap_long_words ($text="")
 part_long_words ($str)
 cut_long_words ($str)
 cut_long_words_callback ($m)
 convert_anchor_tag ($url, $text, $pref="")
 convert_anchor_tag_callback ($m)
 convert_to_rss ($text, $arImages=Array(), $arAllow=array("HTML"=> "N", "ANCHOR"=> "Y", "BIU"=> "Y", "IMG"=> "Y", "QUOTE"=> "Y", "CODE"=> "Y", "FONT"=> "Y", "LIST"=> "Y", "SMILES"=> "Y", "NL2BR"=> "N"), $arParams=array())
 strip_words ($string, $count)
 html_cut ($html, $size)

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

static killAllTags ($text)
static closetags ($html)

Поля данных

 $smiles = array()
 $allow_img_ext = "gif|jpg|jpeg|png"
 $image_params
 $LAST_ERROR = ""
 $path_to_smile = false
 $quote_error = 0
 $quote_open = 0
 $quote_closed = 0
 $MaxStringLen = 125
 $code_error = 0
 $code_open = 0
 $code_closed = 0
 $CacheTime = false
 $arFontSize
 $word_separator = "\s.,;:!?\#\-\*\|\[\]\‍(\‍)\{\}"
 $matchNum = 0
 $matchNum2 = 0
 $matchType = "html"
 $matchType2 = ""
 $matchType3 = ""
 $matchType4 = ""

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

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

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

◆ __construct()

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

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

Методы

◆ closetags()

closetags ( $html)
static

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

◆ convert()

convert ( $text,
$bPreview = True,
$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"),
$type = "html" )

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

◆ convert4mail()

convert4mail ( $text)

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

◆ convert_anchor_tag()

convert_anchor_tag ( $url,
$text,
$pref = "" )

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

◆ convert_anchor_tag_callback()

convert_anchor_tag_callback ( $m)

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

◆ convert_close_tag()

convert_close_tag ( $marker = "quote")

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

◆ convert_code_tag()

convert_code_tag ( $text = "",
$type = "html" )

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

◆ convert_emoticon()

convert_emoticon ( $code = "",
$image = "",
$description = "",
$servername = "" )

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

◆ convert_font_attr()

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

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

◆ convert_image_tag()

convert_image_tag ( $url = "",
$type = "html" )

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

◆ convert_open_tag()

convert_open_tag ( $marker = "quote",
$type = "html" )

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

◆ convert_quote_tag()

convert_quote_tag ( $text = "",
$type = "html" )

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

◆ convert_to_rss()

convert_to_rss ( $text,
$arImages = Array(),
$arAllow = array("HTML" => "N", "ANCHOR" => "Y", "BIU" => "Y", "IMG" => "Y", "QUOTE" => "Y", "CODE" => "Y", "FONT" => "Y", "LIST" => "Y", "SMILES" => "Y", "NL2BR" => "N"),
$arParams = array() )

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

◆ convert_video()

convert_video ( $params,
$path )

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

◆ cut_long_words()

cut_long_words ( $str)

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

◆ cut_long_words_callback()

cut_long_words_callback ( $m)

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

◆ html_cut()

html_cut ( $html,
$size )

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

◆ killAllTags()

killAllTags ( $text)
static

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

◆ part_long_words()

part_long_words ( $str)

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

◆ pre_convert_code_tag()

pre_convert_code_tag ( $text = "")

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

◆ sonet_sortlen()

sonet_sortlen ( $a,
$b )

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

◆ strip_words()

strip_words ( $string,
$count )

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

◆ wrap_long_words()

wrap_long_words ( $text = "")

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

Поля

◆ $allow_img_ext

$allow_img_ext = "gif|jpg|jpeg|png"

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

◆ $arFontSize

$arFontSize
Инициализатор
0 => 40,
1 => 60,
2 => 80,
3 => 100,
4 => 120,
5 => 140,
7 => 160)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

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

◆ $CacheTime

$CacheTime = false

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

◆ $code_closed

$code_closed = 0

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

◆ $code_error

$code_error = 0

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

◆ $code_open

$code_open = 0

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

◆ $image_params

$image_params
Инициализатор
"width" => 300,
"height" => 300,
"template" => "popup_image")

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

◆ $LAST_ERROR

$LAST_ERROR = ""

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

◆ $matchNum

$matchNum = 0

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

◆ $matchNum2

$matchNum2 = 0

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

◆ $matchType

$matchType = "html"

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

◆ $matchType2

$matchType2 = ""

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

◆ $matchType3

$matchType3 = ""

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

◆ $matchType4

$matchType4 = ""

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

◆ $MaxStringLen

$MaxStringLen = 125

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

◆ $path_to_smile

$path_to_smile = false

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

◆ $quote_closed

$quote_closed = 0

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

◆ $quote_error

$quote_error = 0

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

◆ $quote_open

$quote_open = 0

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

◆ $smiles

$smiles = array()

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

◆ $word_separator

$word_separator = "\s.,;:!?\#\-\*\|\[\]\‍(\‍)\{\}"

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


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