Bitrix API

Iblock implements Controllable, Errorable uses ErrorableImplementation

Table of Contents

Interfaces

Controllable
Errorable

Constants

ERROR_ADD_IBLOCK  = "ERROR_ADD_IBLOCK"
ERROR_IBLOCK_ALREADY_EXISTS  = "ERROR_IBLOCK_ALREADY_EXISTS"
ERROR_IBLOCK_NOT_FOUND  = "ERROR_IBLOCK_NOT_FOUND"
ERROR_UPDATE_IBLOCK  = "ERROR_UPDATE_IBLOCK"

Methods

__construct()  : mixed
add()  : int|bool
Adds an iblock.
delete()  : bool
Deletes an iblock.
get()  : array<string|int, mixed>
Returns a list of iblock data.
isExist()  : bool
Checks whether an iblock exists.
update()  : bool
Updates an iblock.

Constants

ERROR_ADD_IBLOCK

public mixed ERROR_ADD_IBLOCK = "ERROR_ADD_IBLOCK"

ERROR_IBLOCK_ALREADY_EXISTS

public mixed ERROR_IBLOCK_ALREADY_EXISTS = "ERROR_IBLOCK_ALREADY_EXISTS"

ERROR_IBLOCK_NOT_FOUND

public mixed ERROR_IBLOCK_NOT_FOUND = "ERROR_IBLOCK_NOT_FOUND"

ERROR_UPDATE_IBLOCK

public mixed ERROR_UPDATE_IBLOCK = "ERROR_UPDATE_IBLOCK"

Methods

add()

Adds an iblock.

public add() : int|bool
Tags
throws
LoaderException
Return values
int|bool

delete()

Deletes an iblock.

public delete() : bool
Return values
bool

get()

Returns a list of iblock data.

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

Navigation data.

Return values
array<string|int, mixed>

isExist()

Checks whether an iblock exists.

public isExist() : bool
Return values
bool

update()

Updates an iblock.

public update() : bool
Return values
bool

        
On this page

Search results