Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
storestockgrid.php
1<?php
2
4
10
12{
13 public const VIEW_KEY = 'store_stock_grid';
14 public const MAX_RENDER_REPORT_COUNT = 1;
15 public const USE_IN_VISUAL_CONSTRUCTOR = false;
16
17 public function __construct()
18 {
19 parent::__construct();
20
21 $this->setLabel(Loc::getMessage('STORE_STOCK_GRID_LABEL'));
22 $this->setDraggable(false);
23 $this->setComponentName('bitrix:catalog.report.store_stock.grid');
24 $this->setPreviewImageUri('/bitrix/images/report/visualconstructor/preview/grid.svg');
25 $this->setCompatibleDataType(Common::MULTIPLE_REPORT_TYPE);
26 }
27
28 public function getViewHandler(): BaseHandler
29 {
30 return new GridHandler();
31 }
32}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29
setPreviewImageUri($previewImageUri)
Definition view.php:523
setCompatibleDataType($compatibleDataType)
Definition view.php:121