Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
utfconverter.php
1
<?php
2
3
namespace
Bitrix\Main\Text
;
4
5
class
UtfConverter
extends
Converter
6
{
7
public
function
encode
($text, $textType =
""
)
8
{
9
return
Encoding::convertEncodingToCurrent
($text);
10
}
11
12
public
function
decode
($text, $textType =
""
)
13
{
14
return
Encoding::convertToUtf
($text);
15
}
16
}
Bitrix\Main\Text\Converter
Definition
converter.php:5
Bitrix\Main\Text\Encoding\convertToUtf
static convertToUtf($string)
Definition
encoding.php:153
Bitrix\Main\Text\Encoding\convertEncodingToCurrent
static convertEncodingToCurrent($string)
Definition
encoding.php:123
Bitrix\Main\Text\UtfConverter
Definition
utfconverter.php:6
Bitrix\Main\Text\UtfConverter\encode
encode($text, $textType="")
Definition
utfconverter.php:7
Bitrix\Main\Text\UtfConverter\decode
decode($text, $textType="")
Definition
utfconverter.php:12
Bitrix\Main\Text
Definition
base32.php:2
modules
main
lib
text
utfconverter.php
Создано системой
1.10.0