Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Converter
+ Граф наследования:Converter:

Открытые члены

 getSettings ()
 
 getEntityTypeId ()
 
 getDocmentTypeId ()
 
 init (ISettings $settings, $entityTypeId=EntityType::UNDEFINED, $documentTypeId=DocumentType::UNDEFINED)
 
 modifyItemIdByItemName ($fields)
 

Открытые статические члены

static getInstance ($typeId)
 
static normalizeExternalCode ($code)
 
- Открытые статические члены унаследованные от IConverter
static isMigrated ()
 
static runMigration ()
 
static showMigrationProgress ()
 

Открытые атрибуты

const MEASURE_CODE_DEFAULT = 796
 
const KOEF_DEFAULT = 1
 
const CURRENCY_RATE_DEFAULT = 1
 

Защищенные члены

 getFieldsInfo ()
 
 externalizeField (&$value, $fieldInfo=null)
 
 externalizeRekv (array $rekv, array $info)
 
 externalizeRekvValue ($kRekv, $vRekv, array $info)
 
 modifyTrim (array $fields)
 

Защищенные статические члены

static toText ($value)
 
static getSiteNameByLid ($lid)
 

Защищенные данные

 $settings = null
 
 $entityTypeId
 
 $documentTypeId
 

Подробное описание

См. определение в файле converter.php строка 17

Методы

◆ externalizeField()

externalizeField ( & $value,
$fieldInfo = null )
protected
Аргументы
$value
mixed

См. определение в файле converter.php строка 98

◆ externalizeRekv()

externalizeRekv ( array $rekv,
array $info )
protected
Аргументы
$rekv
array$info
Возвращает
array

См. определение в файле converter.php строка 165

◆ externalizeRekvValue()

externalizeRekvValue ( $kRekv,
$vRekv,
array $info )
protected
Аргументы
$rekv
array$info
Возвращает
array

См. определение в файле converter.php строка 198

◆ getDocmentTypeId()

getDocmentTypeId ( )

См. определение в файле converter.php строка 82

◆ getEntityTypeId()

getEntityTypeId ( )

См. определение в файле converter.php строка 77

◆ getFieldsInfo()

getFieldsInfo ( )
abstractprotected
Возвращает
array

◆ getInstance()

static getInstance ( $typeId)
static
Аргументы
int$typeIdType ID.
Возвращает
Converter

См. определение в файле converter.php строка 37

◆ getSettings()

getSettings ( )
Возвращает
ISettings

См. определение в файле converter.php строка 72

◆ getSiteNameByLid()

static getSiteNameByLid ( $lid)
staticprotected
Аргументы
$lid
Возвращает
string

См. определение в файле converter.php строка 271

◆ init()

init ( ISettings $settings,
$entityTypeId = EntityType::UNDEFINED,
$documentTypeId = DocumentType::UNDEFINED )

См. определение в файле converter.php строка 87

◆ modifyItemIdByItemName()

modifyItemIdByItemName ( $fields)

См. определение в файле converter.php строка 291

◆ modifyTrim()

modifyTrim ( array $fields)
protected
Аргументы
array$fields
Возвращает
array

См. определение в файле converter.php строка 223

◆ normalizeExternalCode()

static normalizeExternalCode ( $code)
static
Аргументы
string$code
Возвращает
string

См. определение в файле converter.php строка 150

◆ toText()

static toText ( $value)
staticprotected
Аргументы
$value
Возвращает
string

См. определение в файле converter.php строка 133

Данные класса

◆ $documentTypeId

$documentTypeId
protected

См. определение в файле converter.php строка 27

◆ $entityTypeId

$entityTypeId
protected

См. определение в файле converter.php строка 26

◆ $settings

$settings = null
protected

См. определение в файле converter.php строка 24

◆ CURRENCY_RATE_DEFAULT

const CURRENCY_RATE_DEFAULT = 1

См. определение в файле converter.php строка 21

◆ KOEF_DEFAULT

const KOEF_DEFAULT = 1

См. определение в файле converter.php строка 20

◆ MEASURE_CODE_DEFAULT

const MEASURE_CODE_DEFAULT = 796

См. определение в файле converter.php строка 19