method
public
ShipmentItemStoreCollection::setBarcodeQuantityFromArray()
Сигнатура
public setBarcodeQuantityFromArray(array<string|int, mixed> $values) : Result
Параметры
$values
array<string|int, mixed>
Возвращаемое значение
Result
Как применяется в ShipmentItemStoreCollection
ShipmentItemStoreCollection::setBarcodeQuantityFromArray() — метод класса \Bitrix\Sale\ShipmentItemStoreCollection модуля «Интернет-магазин».
Метод объекта: сначала нужен экземпляр ShipmentItemStoreCollection.
use Bitrix\Main\Loader;
use Bitrix\Sale\ShipmentItemStoreCollection;
Loader::includeModule('sale');
/** @var ShipmentItemStoreCollection $object */
$values = [];
$result = $object->setBarcodeQuantityFromArray($values);
// $result: ResultДругие методы ShipmentItemStoreCollection
canAutoFixError()checkAvailableQuantity()clearCollection()clearStartField()count()Подсчитывает количество элементов объекта.createItem()current()Возвращает текущий элемент.doFinalAction()getAllBarcodeList()getErrorEntity()getIndexById()getItemByBarcode()
Исходный файл: source/sale/lib/shipmentitemstorecollection.php:391

