CUtil
Table of Contents
Methods
- addslashes() : mixed
- closetags() : mixed
- ConvertToLangCharset() : mixed
- decodeURIComponent() : mixed
- DecodeUtf16() : mixed
- DetectUTF8() : mixed
- GetAdditionalFileURL() : mixed
- GetPopupOptions() : mixed
- GetPopupSize() : mixed
- getSitesByWizard() : mixed
- InitJSCore() : mixed
- JSEscape() : mixed
- JsObjectToPhp() : mixed
- JSPostUnescape() : mixed
- JSUrlEscape() : mixed
- PhpToJSObject() : mixed
- SetPopupOptions() : mixed
- translit() : mixed
- Unformat() : int
- Convert shorthand notation to integer equivalent
Methods
addslashes()
public
static addslashes(mixed $s) : mixed
Parameters
- $s : mixed
closetags()
public
static closetags(mixed $html) : mixed
Parameters
- $html : mixed
ConvertToLangCharset()
public
static ConvertToLangCharset(mixed $string) : mixed
Use \Bitrix\Main\Text\Encoding::convertToUtf().
Parameters
- $string : mixed
decodeURIComponent()
public
static decodeURIComponent() : mixed
Does nothing.
DecodeUtf16()
public
static DecodeUtf16(mixed $ch) : mixed
Parameters
- $ch : mixed
DetectUTF8()
public
static DetectUTF8(mixed $string) : mixed
Use \Bitrix\Main\Text\Encoding::detectUtf8().
Parameters
- $string : mixed
GetAdditionalFileURL()
public
static GetAdditionalFileURL(mixed $file[, mixed $bSkipCheck = false ]) : mixed
Parameters
- $file : mixed
- $bSkipCheck : mixed = false
GetPopupOptions()
public
static GetPopupOptions(mixed $wnd_id) : mixed
Parameters
- $wnd_id : mixed
GetPopupSize()
public
static GetPopupSize(mixed $resize_id[, mixed $arDefaults = [] ]) : mixed
Parameters
- $resize_id : mixed
- $arDefaults : mixed = []
getSitesByWizard()
public
static getSitesByWizard(mixed $wizard) : mixed
Parameters
- $wizard : mixed
InitJSCore()
public
static InitJSCore([mixed $arExt = [] ][, mixed $bReturn = false ]) : mixed
Use \CJSCore::Init().
Parameters
- $arExt : mixed = []
- $bReturn : mixed = false
JSEscape()
public
static JSEscape(mixed $s) : mixed
Parameters
- $s : mixed
JsObjectToPhp()
public
static JsObjectToPhp(mixed $data[, mixed $bSkipNative = false ]) : mixed
Parameters
- $data : mixed
- $bSkipNative : mixed = false
JSPostUnescape()
public
static JSPostUnescape() : mixed
Does nothing.
JSUrlEscape()
public
static JSUrlEscape(mixed $s) : mixed
Parameters
- $s : mixed
PhpToJSObject()
public
static PhpToJSObject(mixed $arData[, mixed $bWS = false ][, mixed $bSkipTilda = false ][, mixed $bExtType = false ]) : mixed
Use \Bitrix\Main\Web\Json::encode().
Parameters
- $arData : mixed
- $bWS : mixed = false
- $bSkipTilda : mixed = false
- $bExtType : mixed = false
SetPopupOptions()
public
static SetPopupOptions(mixed $wnd_id, mixed $arOptions) : mixed
Parameters
- $wnd_id : mixed
- $arOptions : mixed
translit()
public
static translit(mixed $str, mixed $lang[, mixed $params = [] ]) : mixed
Parameters
- $str : mixed
- $lang : mixed
- $params : mixed = []
Unformat()
Convert shorthand notation to integer equivalent
public
static Unformat(string $str) : int
Use \Bitrix\Main\Config\Ini::unformatInt().
Parameters
- $str : string