Bitrix API

EntityConversionMapper

AbstractYes

Table of Contents

Methods

__construct()  : mixed
getSourceEntityID()  : mixed
getSourceEntityTypeID()  : mixed
getSourceFields()  : array<string|int, mixed>
Get source fields
getSourceFieldValue()  : mixed
Get source field value
getUserField()  : mixed
getUserFields()  : mixed
isUserFieldExists()  : mixed
map()  : mixed
mapUserField()  : mixed
updateMap()  : mixed

Methods

__construct()

public __construct(mixed $srcEntityTypeID, mixed $srcEntityID) : mixed
Parameters
$srcEntityTypeID : mixed
$srcEntityID : mixed

getSourceFields()

Get source fields

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

getSourceFieldValue()

Get source field value

public getSourceFieldValue(string $fieldName[, mixed $default = null ]) : mixed
Parameters
$fieldName : string

Field name

$default : mixed = null

getUserField()

public static getUserField(mixed $entityTypeID, mixed $fieldName) : mixed
Parameters
$entityTypeID : mixed
$fieldName : mixed

getUserFields()

public static getUserFields(mixed $entityTypeID) : mixed
Parameters
$entityTypeID : mixed

isUserFieldExists()

public static isUserFieldExists(mixed $entityTypeID, mixed $fieldName) : mixed
Parameters
$entityTypeID : mixed
$fieldName : mixed

mapUserField()

public static mapUserField(mixed $srcEntityTypeID, mixed $srcFieldID, array<string|int, mixed> &$srcFields, mixed $dstEntityTypeID, mixed $dstFieldID, array<string|int, mixed> &$dstFields[, array<string|int, mixed> $options = null ]) : mixed
Parameters
$srcEntityTypeID : mixed
$srcFieldID : mixed
$srcFields : array<string|int, mixed>
$dstEntityTypeID : mixed
$dstFieldID : mixed
$dstFields : array<string|int, mixed>
$options : array<string|int, mixed> = null

        
On this page

Search results