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
__construct()
public
__construct(Param $param) : mixed
Parameters
- $param : Param
add()
Adds an iblock.
public
add() : int|bool
Tags
Return values
int|booldelete()
Deletes an iblock.
public
delete() : bool
Return values
boolget()
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
boolupdate()
Updates an iblock.
public
update() : bool