Bitrix API

Element implements Controllable, Errorable uses ErrorableImplementation

Table of Contents

Interfaces

Controllable
Errorable

Constants

ERROR_ADD_ELEMENT  = "ERROR_ADD_ELEMENT"
ERROR_DELETE_ELEMENT  = "ERROR_DELETE_ELEMENT"
ERROR_ELEMENT_ALREADY_EXISTS  = "ERROR_ELEMENT_ALREADY_EXISTS"
ERROR_ELEMENT_FIELD_VALUE  = "ERROR_ELEMENT_FIELD_VALUE"
ERROR_ELEMENT_NOT_FOUND  = "ERROR_ELEMENT_NOT_FOUND"
ERROR_ELEMENT_PARAM_VALUE  = "ERROR_ELEMENT_PARAM_VALUE"
ERROR_UPDATE_ELEMENT  = "ERROR_UPDATE_ELEMENT"

Properties

$resultSanitizeFilter  : mixed

Methods

__construct()  : mixed
add()  : int|bool
Adds an element.
delete()  : bool
Deletes an element.
get()  : array<string|int, mixed>
Returns a list of element data.
getAvailableFields()  : array<string|int, mixed>
Returns a list of available fields for filtering and a list of custom handlers.
getFileUrl()  : array<string|int, mixed>
Returns the path to the file.
isExist()  : bool
Checks whether an element exists.
update()  : bool
Updates an element.

Constants

ERROR_ADD_ELEMENT

public mixed ERROR_ADD_ELEMENT = "ERROR_ADD_ELEMENT"

ERROR_DELETE_ELEMENT

public mixed ERROR_DELETE_ELEMENT = "ERROR_DELETE_ELEMENT"

ERROR_ELEMENT_ALREADY_EXISTS

public mixed ERROR_ELEMENT_ALREADY_EXISTS = "ERROR_ELEMENT_ALREADY_EXISTS"

ERROR_ELEMENT_FIELD_VALUE

public mixed ERROR_ELEMENT_FIELD_VALUE = "ERROR_ELEMENT_FIELD_VALUE"

ERROR_ELEMENT_NOT_FOUND

public mixed ERROR_ELEMENT_NOT_FOUND = "ERROR_ELEMENT_NOT_FOUND"

ERROR_ELEMENT_PARAM_VALUE

public mixed ERROR_ELEMENT_PARAM_VALUE = "ERROR_ELEMENT_PARAM_VALUE"

ERROR_UPDATE_ELEMENT

public mixed ERROR_UPDATE_ELEMENT = "ERROR_UPDATE_ELEMENT"

Properties

$resultSanitizeFilter

public mixed $resultSanitizeFilter = []

Methods

add()

Adds an element.

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

delete()

Deletes an element.

public delete() : bool
Return values
bool

get()

Returns a list of element 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>

getAvailableFields()

Returns a list of available fields for filtering and a list of custom handlers.

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

getFileUrl()

Returns the path to the file.

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

An array with a list of url for the field of type "File" or "File (Disk)".

isExist()

Checks whether an element exists.

public isExist() : bool
Return values
bool

update()

Updates an element.

public update() : bool
Return values
bool

        
On this page

Search results