Bitrix API

Section implements Controllable, Errorable uses ErrorableImplementation

Table of Contents

Interfaces

Controllable
Errorable

Constants

ERROR_ADD_SECTION  = "ERROR_ADD_SECTION"
ERROR_DELETE_SECTION  = "ERROR_DELETE_SECTION"
ERROR_SECTION_NOT_FOUND  = "ERROR_SECTION_NOT_FOUND"
ERROR_UPDATE_SECTION  = "ERROR_UPDATE_SECTION"

Methods

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

Constants

ERROR_ADD_SECTION

public mixed ERROR_ADD_SECTION = "ERROR_ADD_SECTION"

ERROR_DELETE_SECTION

public mixed ERROR_DELETE_SECTION = "ERROR_DELETE_SECTION"

ERROR_SECTION_NOT_FOUND

public mixed ERROR_SECTION_NOT_FOUND = "ERROR_SECTION_NOT_FOUND"

ERROR_UPDATE_SECTION

public mixed ERROR_UPDATE_SECTION = "ERROR_UPDATE_SECTION"

Methods

add()

Adds an section.

public add() : int|bool
Return values
int|bool

delete()

Deletes an section.

public delete() : bool
Return values
bool

get()

Returns a list of section 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 section exists.

public isExist() : bool
Return values
bool

update()

Updates an section.

public update() : bool
Return values
bool

        
On this page

Search results