Bitrix API

Manager

Class for manage tuning options

Table of Contents

Methods

__construct()  : mixed
getItem()  : Item|null
Returns tuning item by code.
getList()  : GroupCollection|array<string|int, mixed>
Returns Collection of all tuning items.
save()  : void
Saves current config to db.

Methods

__construct()

public __construct() : mixed

getItem()

Returns tuning item by code.

public getItem(string $code) : Item|null
Parameters
$code : string
Return values
Item|null

getList()

Returns Collection of all tuning items.

public getList([bool $toArray = false ]) : GroupCollection|array<string|int, mixed>
Parameters
$toArray : bool = false
  • if true - format objects list to array
Return values
GroupCollection|array<string|int, mixed>

save()

Saves current config to db.

public save() : void

        
On this page

Search results