Bitrix API

Util

Table of Contents

Methods

escape()  : mixed
generateUUID()  : string
Generate v4 UUID Version 4 UUIDs are pseudo-random.
getOption()  : mixed
getParser()  : mixed
getPortalCreateTimestamp()  : string
Gets portal create date in unix timestamp.
getServerTimeZoneOffset()  : mixed
hashCode()  : string
is_serialized()  : mixed
log()  : mixed
printDebug()  : mixed
replaceUrlParameters()  : mixed
secureBackUrl()  : mixed
setOption()  : mixed
trim()  : mixed
unSetOption()  : mixed

Methods

escape()

public static escape(mixed $arg) : mixed
Parameters
$arg : mixed

generateUUID()

Generate v4 UUID Version 4 UUIDs are pseudo-random.

public static generateUUID([bool $brackets = true ]) : string
Parameters
$brackets : bool = true
Tags
use

\Bitrix\Main\UuidGenerator::generateV4()

Return values
string

getOption()

public static getOption(mixed $name[, mixed $default = '' ]) : mixed
Parameters
$name : mixed
$default : mixed = ''

getParser()

public static getParser([array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
$parameters : array<string|int, mixed> = array()

getPortalCreateTimestamp()

Gets portal create date in unix timestamp.

public static getPortalCreateTimestamp() : string
Return values
string

getServerTimeZoneOffset()

public static getServerTimeZoneOffset() : mixed

hashCode()

public static hashCode(mixed $str) : string
Parameters
$str : mixed
Return values
string

is_serialized()

public static is_serialized(mixed $value[, mixed &$result = null ]) : mixed
Parameters
$value : mixed
$result : mixed = null

log()

public static log(mixed $info) : mixed
Parameters
$info : mixed

printDebug()

public static printDebug(mixed $data) : mixed
Parameters
$data : mixed

replaceUrlParameters()

public static replaceUrlParameters(mixed $url[, array<string|int, mixed> $paramsToAdd = array() ][, array<string|int, mixed> $paramsToDelete = array() ][, array<string|int, mixed> $options = array() ]) : mixed
Parameters
$url : mixed
$paramsToAdd : array<string|int, mixed> = array()
$paramsToDelete : array<string|int, mixed> = array()
$options : array<string|int, mixed> = array()

secureBackUrl()

public static secureBackUrl(mixed $url) : mixed
Parameters
$url : mixed

setOption()

public static setOption(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

trim()

public static trim(mixed $arg) : mixed
Parameters
$arg : mixed

unSetOption()

public static unSetOption(mixed $name) : mixed
Parameters
$name : mixed

        
On this page

Search results