Bitrix API

CatalogEdit

Table of Contents

Constants

CATALOG_ACTION_ADD  = 'add'
CATALOG_ACTION_DELETE  = 'delete'
CATALOG_ACTION_UPDATE  = 'update'
IBLOCK_ACTION_FILL_PRODUCT  = 0x1

Methods

__construct()  : mixed
clearErrors()  : void
Clear current errors.
getCatalog()  : array<string|int, mixed>
Return catalog data.
getErrors()  : array<string|int, mixed>
Return current errors.
getIblock()  : array<string|int, mixed>
Return iblock data.
isEnableRecurring()  : bool
Return sale recurring feature state.
isSuccess()  : bool
Return current status.
loadCatalog()  : void
Load catalog data from database.
loadIblock()  : void
Load iblock data.
prepareCatalogData()  : void
Check catalog data before update.
saveCatalog()  : void
Save new catalog data.

Constants

CATALOG_ACTION_ADD

public mixed CATALOG_ACTION_ADD = 'add'

CATALOG_ACTION_DELETE

public mixed CATALOG_ACTION_DELETE = 'delete'

CATALOG_ACTION_UPDATE

public mixed CATALOG_ACTION_UPDATE = 'update'

IBLOCK_ACTION_FILL_PRODUCT

public mixed IBLOCK_ACTION_FILL_PRODUCT = 0x1

Methods

__construct()

public __construct(int $iblockId) : mixed
Parameters
$iblockId : int

Iblock ID.

clearErrors()

Clear current errors.

public clearErrors() : void

getCatalog()

Return catalog data.

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

getErrors()

Return current errors.

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

getIblock()

Return iblock data.

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

isEnableRecurring()

Return sale recurring feature state.

public isEnableRecurring() : bool
Return values
bool

isSuccess()

Return current status.

public isSuccess() : bool
Return values
bool

loadCatalog()

Load catalog data from database.

public loadCatalog() : void

loadIblock()

Load iblock data.

public loadIblock() : void
Tags
throws
ArgumentException

prepareCatalogData()

Check catalog data before update.

public prepareCatalogData(array<string|int, mixed> $catalogData) : void
Parameters
$catalogData : array<string|int, mixed>

Post form params.

saveCatalog()

Save new catalog data.

public saveCatalog(array<string|int, mixed> $catalogData) : void
Parameters
$catalogData : array<string|int, mixed>

Post form params.


        
On this page

Search results