Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
basestorebarcodeaction.php
1<?php
2
4
6
11{
15 protected $storeId;
16
20 protected $productId;
21
25 protected $barcode;
26
30 protected $userId;
31
38 public function __construct(
39 ?int $storeId,
40 int $productId,
41 string $barcode,
42 int $userId
43 )
44 {
45 $this->storeId = $storeId;
46 $this->productId = $productId;
47 $this->barcode = $barcode;
48 $this->userId = $userId;
49 }
50
56 protected function getBarcodeRow(): ?array
57 {
59 'select' => [
60 'ID',
61 'STORE_ID',
62 'PRODUCT_ID',
63 'BARCODE',
64 ],
65 'filter' => [
66 '=BARCODE' => $this->barcode,
67 ],
68 ]) ?: null;
69 }
70}
static getRow(array $parameters)
__construct(?int $storeId, int $productId, string $barcode, int $userId)