Bitrix API

Element implements Child

Table of Contents

Interfaces

Child

Constants

IBLOCK_COPY_MODE  = "iblock"
SECTION_COPY_MODE  = "section"

Methods

__construct()  : mixed
copy()  : Result
Copy iblock.
setEnumRatio()  : void
Add lists values map from old iblock to new iblock.
setFieldRatio()  : void
Add properties map from old iblock to new iblock.
setSectionsRatio()  : void
Add sections map from old iblock to new iblock.

Constants

IBLOCK_COPY_MODE

public mixed IBLOCK_COPY_MODE = "iblock"

SECTION_COPY_MODE

public mixed SECTION_COPY_MODE = "section"

Methods

__construct()

public __construct(mixed $copyMode) : mixed
Parameters
$copyMode : mixed

copy()

Copy iblock.

public copy(int $entityId, int $copiedEntityId) : Result
Parameters
$entityId : int

Source iblock id.

$copiedEntityId : int

Destination iblock id.

Return values
Result

setEnumRatio()

Add lists values map from old iblock to new iblock.

public setEnumRatio(array<string|int, mixed> $enumRatio) : void
Parameters
$enumRatio : array<string|int, mixed>

Lists values map.

setFieldRatio()

Add properties map from old iblock to new iblock.

public setFieldRatio(array<string|int, mixed> $fieldRatio) : void
Parameters
$fieldRatio : array<string|int, mixed>

Properties map.

setSectionsRatio()

Add sections map from old iblock to new iblock.

public setSectionsRatio(array<string|int, mixed> $sectionsRatio) : void
Parameters
$sectionsRatio : array<string|int, mixed>

Sections map.


        
On this page

Search results