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

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

 addItem ($entityTypeId, $typeId, Entity $entity, $message=null)
 
 getEntity ()
 
 getTypeId ()
 
 getMessage ()
 
 getTypeName ()
 
 setEntity (Entity $entity)
 
 getCollision (EntityImport $item)
 
 resolve (ImportBase $item)
 

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

static getCurrent ($entityTypeId)
 

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

 $entityTypeId = EntityType::UNDEFINED
 
 $typeId = null
 
 $entity = null
 
 $message = null
 

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

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

Методы

◆ addItem()

addItem ( $entityTypeId,
$typeId,
Entity $entity,
$message = null )
Аргументы
$entityTypeId
$typeId
Entity$entity
null$message
Исключения
ArgumentOutOfRangeException
NotImplementedException

Замещает ICollision.

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

◆ getCollision()

getCollision ( EntityImport $item)
Аргументы
EntityImport$item
Возвращает
array

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

◆ getCurrent()

static getCurrent ( $entityTypeId)
static
Аргументы
$entityTypeId
Возвращает
self
Исключения
ArgumentOutOfRangeException

Замещает ICollision.

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

◆ getEntity()

getEntity ( )
Возвращает
mixed

Замещает ICollision.

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

◆ getMessage()

getMessage ( )
Возвращает
string

Замещает ICollision.

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

◆ getTypeId()

getTypeId ( )
Возвращает
int

Замещает ICollision.

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

◆ getTypeName()

getTypeName ( )
Возвращает
string

Замещает ICollision.

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

◆ resolve()

resolve ( ImportBase $item)

Resolve import collisions

Аргументы
EntityImport$item
Возвращает
Result

Замещает ICollision.

Переопределяется в CollisionOrder, CollisionPayment, CollisionShipment и CollisionProfile.

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

◆ setEntity()

setEntity ( Entity $entity)
Аргументы
Entity$entity

Замещает ICollision.

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

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

◆ $entity

$entity = null
protected

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

◆ $entityTypeId

$entityTypeId = EntityType::UNDEFINED
protected

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

◆ $message

$message = null
protected

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

◆ $typeId

$typeId = null
protected

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