Bitrix API

Location

Table of Contents

Constants

LOCATION_AFTER_TEMPLATE  = 150
LOCATION_BEFORE_ALL  = 1
LOCATION_KERNEL  = 50
LOCATION_TEMPLATE  = 100

Methods

getAllLocations()  : array<string|int, mixed>
Available locations for assets adding
getDefaultLocation()  : string
Return default location
verifyLocation()  : int
Check correctly location number

Constants

LOCATION_AFTER_TEMPLATE

public mixed LOCATION_AFTER_TEMPLATE = 150

LOCATION_BEFORE_ALL

public mixed LOCATION_BEFORE_ALL = 1

LOCATION_KERNEL

public mixed LOCATION_KERNEL = 50

LOCATION_TEMPLATE

public mixed LOCATION_TEMPLATE = 100

Methods

getAllLocations()

Available locations for assets adding

public static getAllLocations() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefaultLocation()

Return default location

public static getDefaultLocation() : string
Return values
string

verifyLocation()

Check correctly location number

public static verifyLocation(mixed $location) : int
Parameters
$location : mixed
  • location to verify
Return values
int

        
On this page

Search results