Bitrix API

Util

Table of Contents

Methods

getLocationAccess()  : bool
getTextLocation()  : mixed|string
parseLocation()  : array<string|int, mixed>
releaseLocation()  : void
setLocation()  : mixed|string
unParseTextLocation()  : array<string|int, mixed>|array<string|int, string>

Methods

getLocationAccess()

public static getLocationAccess(mixed $userId) : bool
Parameters
$userId : mixed
Tags
throws
UnknownActionException
throws
LoaderException
Return values
bool

getTextLocation()

public static getTextLocation([mixed $loc = '' ]) : mixed|string
Parameters
$loc : mixed = ''
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
mixed|string

parseLocation()

public static parseLocation(mixed $location) : array<string|int, mixed>
Parameters
$location : mixed

Preparing location name for event

Return values
array<string|int, mixed>

releaseLocation()

public static releaseLocation(mixed $loc) : void
Parameters
$loc : mixed

setLocation()

public static setLocation([mixed $old = '' ][, mixed $new = '' ][, array<string|int, mixed> $params = [] ]) : mixed|string
Parameters
$old : mixed = ''
$new : mixed = ''
$params : array<string|int, mixed> = []
Tags
throws
LoaderException
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
mixed|string

unParseTextLocation()

public static unParseTextLocation([mixed $loc = '' ]) : array<string|int, mixed>|array<string|int, string>
Parameters
$loc : mixed = ''
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>|array<string|int, string>

        
On this page

Search results