Converter implements IConverter
AbstractYes
Class Converter
Table of Contents
Interfaces
- IConverter
- Interface IConverter
Constants
- CURRENCY_RATE_DEFAULT = 1
- KOEF_DEFAULT = 1
- MEASURE_CODE_DEFAULT = 796
Methods
- getDocmentTypeId() : mixed
- getEntityTypeId() : mixed
- getInstance() : Converter
- getSettings() : ISettings
- init() : mixed
- modifyItemIdByItemName() : mixed
- normalizeExternalCode() : string
Constants
CURRENCY_RATE_DEFAULT
public
mixed
CURRENCY_RATE_DEFAULT
= 1
KOEF_DEFAULT
public
mixed
KOEF_DEFAULT
= 1
MEASURE_CODE_DEFAULT
public
mixed
MEASURE_CODE_DEFAULT
= 796
Methods
getDocmentTypeId()
public
getDocmentTypeId() : mixed
getEntityTypeId()
public
getEntityTypeId() : mixed
getInstance()
public
static getInstance(int $typeId) : Converter
Parameters
- $typeId : int
-
Type ID.
Return values
ConvertergetSettings()
public
getSettings() : ISettings
Return values
ISettingsinit()
public
init(ISettings $settings[, mixed $entityTypeId = EntityType::UNDEFINED ][, mixed $documentTypeId = DocumentType::UNDEFINED ]) : mixed
Parameters
- $settings : ISettings
- $entityTypeId : mixed = EntityType::UNDEFINED
- $documentTypeId : mixed = DocumentType::UNDEFINED
modifyItemIdByItemName()
public
modifyItemIdByItemName(mixed $fields) : mixed
Parameters
- $fields : mixed
normalizeExternalCode()
public
static normalizeExternalCode(string $code) : string
Parameters
- $code : string