1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс ShipmentItemCollection
Граф наследования:ShipmentItemCollection:
EntityCollection EntityCollectionInterface

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

 deleteItem ($index)
 onItemModify (Internals\CollectableEntity $item, $name=null, $oldValue=null, $value=null)
 getItemByBasketCode ($itemCode)
 getShippableItems ()
 getSellableItems ()
 getShipment ()
 onBeforeBasketItemDelete (BasketItem $basketItem)
 onBasketModify ($action, BasketItem $basketItem, $name=null, $oldValue=null, $value=null)
 getBasketItemQuantity (BasketItem $basketItem)
Открытые члены унаследованные от EntityCollection
 __construct (EntityInterface ... $items)
 count ()
 isEmpty ()
 getIterator ()
 add (EntityInterface $item)
 find (callable $callback)
 filter (callable $callback)
 map (callable $callback)

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

static getRegistryType ()
static getList (array $parameters=array())

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

 getEntityParent ()
 bindItem (CollectableEntity $shipmentItem)
 createIndex ()
 deleteInternal ($primary)

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

 $shipment
 $shipmentItemIndexMap = array()
Защищенные данные унаследованные от EntityCollection
array $items = []

Дополнительные унаследованные члены

Защищенные статические члены унаследованные от EntityCollection
static getEntityClass ()

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

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

Методы

◆ bindItem()

bindItem ( CollectableEntity $shipmentItem)
protected

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

◆ createIndex()

createIndex ( )
protected

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

◆ deleteInternal()

deleteInternal ( $primary)
protected
Аргументы
$primary
Возвращает
Main\Entity\DeleteResult

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

◆ deleteItem()

deleteItem ( $index)

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

◆ getBasketItemQuantity()

getBasketItemQuantity ( BasketItem $basketItem)
Аргументы
BasketItem$basketItem
Возвращает
float|int
Исключения
Main

ArgumentNullException

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

◆ getEntityParent()

getEntityParent ( )
protected
Возвращает
Shipment

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

◆ getItemByBasketCode()

getItemByBasketCode ( $itemCode)
Аргументы
$itemCode
Возвращает
ShipmentItem|null

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

◆ getList()

getList ( array $parameters = array())
static
Аргументы
array$parameters
Возвращает
Main\DB\Result
Исключения
Main

ArgumentException

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

◆ getRegistryType()

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

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

◆ getSellableItems()

getSellableItems ( )
Возвращает
Internals\CollectionFilterIterator

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

◆ getShipment()

getShipment ( )
Возвращает
Shipment

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

◆ getShippableItems()

getShippableItems ( )

Returns shippable items

Возвращает
Internals\CollectionFilterIterator

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

◆ onBasketModify()

onBasketModify ( $action,
BasketItem $basketItem,
$name = null,
$oldValue = null,
$value = null )
Аргументы
$action
BasketItem$basketItem
null$name
null$oldValue
null$value
Возвращает
Result
Исключения
Main

ArgumentNullException

Исключения
Main

ArgumentOutOfRangeException

Исключения
Main

NotSupportedException

Исключения
Main

ObjectNotFoundException

Исключения
Main

SystemException

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

◆ onBeforeBasketItemDelete()

onBeforeBasketItemDelete ( BasketItem $basketItem)
Аргументы
BasketItem$basketItem
Возвращает
Result
Исключения
Main

ArgumentNullException

Исключения
Main

ArgumentOutOfRangeException

Исключения
Main

NotSupportedException

Исключения
Main

ObjectNotFoundException

Исключения
Main

SystemException

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

◆ onItemModify()

onItemModify ( Internals\CollectableEntity $item,
$name = null,
$oldValue = null,
$value = null )
Аргументы
Internals\CollectableEntity$item
null$name
null$oldValue
null$value
Возвращает
Result
Исключения
Main

NotSupportedException

Исключения
Main

SystemException

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

Поля

◆ $shipment

$shipment
protected

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

◆ $shipmentItemIndexMap

$shipmentItemIndexMap = array()
protected

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


Объявления и описания членов класса находятся в файле: