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
Return values
boolgetTextLocation()
public
static getTextLocation([mixed $loc = '' ]) : mixed|string
Parameters
- $loc : mixed = ''
Tags
Return values
mixed|stringparseLocation()
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
Return values
mixed|stringunParseTextLocation()
public
static unParseTextLocation([mixed $loc = '' ]) : array<string|int, mixed>|array<string|int, string>
Parameters
- $loc : mixed = ''