Bitrix API

ElementSkuProperty extends Base

Class Base

Table of Contents

Methods

__construct()  : mixed
getField()  : string
Returns field value.
getId()  : int
Returns entity identifier.
resolve()  : Base
Used to find entity for template processing.
setFields()  : void
Used to initialize entity fields from some external source.
setIblockId()  : void
Set the iblock of the elements.

Methods

__construct()

public __construct(array<string|int, mixed>|mixed $ids) : mixed
Parameters
$ids : array<string|int, mixed>|mixed

Array of iblock element identifiers.

getField()

Returns field value.

public getField(string $fieldName) : string
Parameters
$fieldName : string

Name of the field to retrieve data from.

Return values
string

getId()

Returns entity identifier.

public getId() : int
Return values
int

resolve()

Used to find entity for template processing.

public resolve(string $entity) : Base
Parameters
$entity : string

What to find.

Return values
Base

setFields()

Used to initialize entity fields from some external source.

public setFields(array<string|int, mixed> $fields) : void
Parameters
$fields : array<string|int, mixed>

Entity fields.

setIblockId()

Set the iblock of the elements.

public setIblockId(int $iblockId) : void
Parameters
$iblockId : int

Iblock identifier.


        
On this page

Search results