Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
xmlconverter.php
1
<?php
2
namespace
Bitrix\Main\Text
;
3
4
class
XmlConverter
extends
Converter
5
{
6
public
function
encode
($text, $textType =
""
)
7
{
8
if
(is_object($text))
9
return
$text;
10
11
return
HtmlFilter::encode
($text);
12
}
13
14
public
function
decode
($text, $textType =
""
)
15
{
16
if
(is_object($text))
17
return
$text;
18
19
return
htmlspecialchars_decode($text);
20
}
21
}
Bitrix\Main\Text\Converter
Definition
converter.php:5
Bitrix\Main\Text\HtmlFilter\encode
static encode($string, $flags=ENT_COMPAT, $doubleEncode=true)
Definition
htmlfilter.php:12
Bitrix\Main\Text\XmlConverter
Definition
xmlconverter.php:5
Bitrix\Main\Text\XmlConverter\encode
encode($text, $textType="")
Definition
xmlconverter.php:6
Bitrix\Main\Text\XmlConverter\decode
decode($text, $textType="")
Definition
xmlconverter.php:14
Bitrix\Main\Text
Definition
base32.php:2
modules
main
lib
text
xmlconverter.php
Создано системой
1.10.0