ShipmentItemStoreCollection extends EntityCollection
Class EntityCollection
Table of Contents
Methods
- canAutoFixError() : string
- checkAvailableQuantity() : Result
- clearCollection() : mixed
- clearStartField() : bool
- count() : int
- Count elements of an object
- createItem() : ShipmentItemStore
- current() : mixed
- Return the current element
- doFinalAction() : Result
- getAllBarcodeList() : array<string|int, mixed>
- getErrorEntity() : string
- getIndexById() : bool|int|null
- getItemByBarcode() : ShipmentItemStore|null
- getItemById() : CollectableEntity|null
- getItemByIndex() : CollectableEntity|null
- getItemsByStoreId() : CollectionFilterIterator
- getIterator() : ArrayIterator
- getList() : Result|EO_ShipmentItemStore_Result
- getQuantityByBasketCode() : float|int
- getRegistryType() : string
- getShipmentItem() : ShipmentItem
- hasMeaningfulField() : bool
- isAnyItemAdded() : bool
- isAnyItemDeleted() : bool
- isChanged() : bool
- isClone() : bool
- isEmpty() : bool
- Checks if collection is empty.
- isMathActionOnly() : bool
- isStartField() : bool
- key() : mixed
- Return the key of the current element
- load() : ShipmentItemStoreCollection
- next() : mixed
- Move forward to next element
- offsetExists() : bool
- Whether a offset exists
- offsetGet() : mixed
- Offset to retrieve
- offsetSet() : void
- Offset to set
- offsetUnset() : void
- Offset to unset
- onItemModify() : Result
- onShipmentItemModify() : Result
- rewind() : mixed
- Rewind the Iterator to the first element
- save() : Result
- setBarcodeQuantityFromArray() : Result
- setMathActionOnly() : bool
- toArray() : mixed
- valid() : mixed
- Checks if current position is valid
- verify() : Result
Methods
canAutoFixError()
public
canAutoFixError(mixed $value) : string
Parameters
- $value : mixed
Return values
stringcheckAvailableQuantity()
public
checkAvailableQuantity(CollectableEntity $item) : Result
Parameters
- $item : CollectableEntity
Tags
Return values
ResultclearCollection()
public
clearCollection() : mixed
Tags
clearStartField()
public
clearStartField() : bool
Return values
boolcount()
Count elements of an object
public
count() : int
Return values
intcreateItem()
public
createItem(BasketItem $basketItem) : ShipmentItemStore
Parameters
- $basketItem : BasketItem
Tags
Return values
ShipmentItemStorecurrent()
Return the current element
public
current() : mixed
doFinalAction()
public
doFinalAction([bool $hasMeaningfulField = false ]) : Result
Parameters
- $hasMeaningfulField : bool = false
Return values
ResultgetAllBarcodeList()
public
getAllBarcodeList() : array<string|int, mixed>
Return values
array<string|int, mixed>getErrorEntity()
public
getErrorEntity(mixed $value) : string
Parameters
- $value : mixed
Return values
stringgetIndexById()
public
getIndexById(mixed $id) : bool|int|null
Parameters
- $id : mixed
Tags
Return values
bool|int|nullgetItemByBarcode()
public
getItemByBarcode(mixed $barcode) : ShipmentItemStore|null
Parameters
- $barcode : mixed
Return values
ShipmentItemStore|nullgetItemById()
public
getItemById(mixed $id) : CollectableEntity|null
Parameters
- $id : mixed
Tags
Return values
CollectableEntity|nullgetItemByIndex()
public
getItemByIndex(mixed $index) : CollectableEntity|null
Parameters
- $index : mixed
Tags
Return values
CollectableEntity|nullgetItemsByStoreId()
public
getItemsByStoreId(int $storeId) : CollectionFilterIterator
Parameters
- $storeId : int
Return values
CollectionFilterIteratorgetIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIteratorgetList()
public
static getList([array<string|int, mixed> $parameters = array() ]) : Result|EO_ShipmentItemStore_Result
Parameters
- $parameters : array<string|int, mixed> = array()
Tags
Return values
Result|EO_ShipmentItemStore_ResultgetQuantityByBasketCode()
public
getQuantityByBasketCode(mixed $basketCode) : float|int
Parameters
- $basketCode : mixed
Return values
float|intgetRegistryType()
public
static getRegistryType() : string
Return values
stringgetShipmentItem()
public
getShipmentItem() : ShipmentItem
Return values
ShipmentItemhasMeaningfulField()
public
hasMeaningfulField() : bool
Return values
boolisAnyItemAdded()
public
isAnyItemAdded() : bool
Return values
boolisAnyItemDeleted()
public
isAnyItemDeleted() : bool
Return values
boolisChanged()
public
isChanged() : bool
Return values
boolisClone()
public
isClone() : bool
Return values
boolisEmpty()
Checks if collection is empty.
public
isEmpty() : bool
Return values
boolisMathActionOnly()
public
isMathActionOnly() : bool
Return values
boolisStartField()
public
isStartField([bool $isMeaningfulField = false ]) : bool
Parameters
- $isMeaningfulField : bool = false
Return values
boolkey()
Return the key of the current element
public
key() : mixed
load()
public
static load(ShipmentItem $shipmentItem) : ShipmentItemStoreCollection
Parameters
- $shipmentItem : ShipmentItem
Return values
ShipmentItemStoreCollectionnext()
Move forward to next element
public
next() : mixed
offsetExists()
Whether a offset exists
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
Offset to retrieve
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Attributes
- #[ReturnTypeWillChange]
offsetSet()
Offset to set
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
Offset to unset
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
onItemModify()
public
onItemModify(CollectableEntity $item[, null $name = null ][, null $oldValue = null ][, null $value = null ]) : Result
Parameters
- $item : CollectableEntity
- $name : null = null
- $oldValue : null = null
- $value : null = null
Tags
Return values
ResultonShipmentItemModify()
public
onShipmentItemModify(mixed $action, ShipmentItem $shipmentItem[, null $name = null ][, null $oldValue = null ][, null $value = null ]) : Result
Parameters
- $action : mixed
- $shipmentItem : ShipmentItem
- $name : null = null
- $oldValue : null = null
- $value : null = null
Tags
Return values
Resultrewind()
Rewind the Iterator to the first element
public
rewind() : mixed
save()
public
save() : Result
Tags
Return values
ResultsetBarcodeQuantityFromArray()
public
setBarcodeQuantityFromArray(array<string|int, mixed> $values) : Result
Parameters
- $values : array<string|int, mixed>
Tags
Return values
ResultsetMathActionOnly()
public
setMathActionOnly([bool|false $value = false ]) : bool
Parameters
- $value : bool|false = false
Return values
booltoArray()
public
toArray() : mixed
valid()
Checks if current position is valid
public
valid() : mixed
verify()
public
verify() : Result