Bitrix API

IConfig extends IAuthSettings, JsonSerializable

Table of Contents

Methods

default()  : static
get default configuration
get()  : mixed
load()  : static|null
load current configuration
loadFromArray()  : static
save()  : bool
save changes
set()  : $this
toArray()  : array<string|int, mixed>

Methods

default()

get default configuration

public static default() : static
Return values
static

get()

public get(string $name) : mixed
Parameters
$name : string

load()

load current configuration

public static load() : static|null
Return values
static|null

loadFromArray()

public static loadFromArray(array<string|int, mixed> $array) : static
Parameters
$array : array<string|int, mixed>
Return values
static

save()

save changes

public save() : bool
Return values
bool

set()

public set(string $name, mixed $value) : $this
Parameters
$name : string
$value : mixed
Return values
$this

toArray()

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

        
On this page

Search results