1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
storestocksalechart.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\Integration\Report\View\StoreStock;
4
5use Bitrix\Catalog\Integration\Report\Handler\BaseHandler;
6use Bitrix\Catalog\Integration\Report\Handler\StoreStock\ChartHandler;
7use Bitrix\Catalog\Integration\Report\View\CatalogView;
8use Bitrix\Main\Localization\Loc;
9use Bitrix\Report\VisualConstructor\Config\Common;
10
12{
13 public const VIEW_KEY = 'store_stock_salechart';
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_CHART_LABEL'));
22 $this->setDraggable(false);
23 $this->setComponentName('bitrix:catalog.report.store_stock.salechart');
24 $this->setPreviewImageUri('/bitrix/images/report/visualconstructor/preview/graph.svg');
25 $this->setCompatibleDataType(Common::MULTIPLE_REPORT_TYPE);
26 }
27
28 public function getViewHandler(): BaseHandler
29 {
30 return new ChartHandler();
31 }
32}
setDraggable($draggable)
Определения view.php:453
setPreviewImageUri($previewImageUri)
Определения view.php:523
setCompatibleDataType($compatibleDataType)
Определения view.php:121
setLabel($label)
Определения view.php:83
setComponentName($componentName)
Определения base.php:43