Bitrix API

Configuration extends ArrayObject implements JsonSerializable

Class Configuration

Table of Contents

Interfaces

JsonSerializable

Methods

__construct()  : mixed
Configuration constructor.
get()  : mixed|null
has()  : bool
jsonSerialize()  : array<string|int, mixed>
set()  : Configuration
toArray()  : array<string|int, mixed>

Methods

__construct()

Configuration constructor.

public __construct([array<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : array<string|int, mixed> = []

get()

public get(string $id) : mixed|null
Parameters
$id : string
Return values
mixed|null

has()

public has(string $id) : bool
Parameters
$id : string
Return values
bool

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

toArray()

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

        
On this page

Search results