Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
storestocksalechart.php
1
<?php
2
3
namespace
Bitrix\Catalog\Integration\Report\View\StoreStock
;
4
5
use
Bitrix\Catalog\Integration\Report\Handler\BaseHandler
;
6
use
Bitrix\Catalog\Integration\Report\Handler\StoreStock\ChartHandler
;
7
use
Bitrix\Catalog\Integration\Report\View\CatalogView
;
8
use
Bitrix\Main\Localization\Loc
;
9
use
Bitrix\Report\VisualConstructor\Config\Common
;
10
11
class
StoreStockSaleChart
extends
CatalogView
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
}
Bitrix\Catalog\Integration\Report\Handler\BaseHandler
Definition
basehandler.php:26
Bitrix\Catalog\Integration\Report\Handler\StoreStock\ChartHandler
Definition
charthandler.php:12
Bitrix\Catalog\Integration\Report\View\CatalogView
Definition
catalogview.php:14
Bitrix\Catalog\Integration\Report\View\StoreStock\StoreStockSaleChart
Definition
storestocksalechart.php:12
Bitrix\Catalog\Integration\Report\View\StoreStock\StoreStockSaleChart\__construct
__construct()
Definition
storestocksalechart.php:17
Bitrix\Catalog\Integration\Report\View\StoreStock\StoreStockSaleChart\USE_IN_VISUAL_CONSTRUCTOR
const USE_IN_VISUAL_CONSTRUCTOR
Definition
storestocksalechart.php:15
Bitrix\Catalog\Integration\Report\View\StoreStock\StoreStockSaleChart\MAX_RENDER_REPORT_COUNT
const MAX_RENDER_REPORT_COUNT
Definition
storestocksalechart.php:14
Bitrix\Catalog\Integration\Report\View\StoreStock\StoreStockSaleChart\VIEW_KEY
const VIEW_KEY
Definition
storestocksalechart.php:13
Bitrix\Catalog\Integration\Report\View\StoreStock\StoreStockSaleChart\getViewHandler
getViewHandler()
Definition
storestocksalechart.php:28
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Report\VisualConstructor\Config\Common
Definition
common.php:11
Bitrix\Report\VisualConstructor\View\setDraggable
setDraggable($draggable)
Definition
view.php:453
Bitrix\Report\VisualConstructor\View\setPreviewImageUri
setPreviewImageUri($previewImageUri)
Definition
view.php:523
Bitrix\Report\VisualConstructor\View\setCompatibleDataType
setCompatibleDataType($compatibleDataType)
Definition
view.php:121
Bitrix\Report\VisualConstructor\View\setLabel
setLabel($label)
Definition
view.php:83
Bitrix\Report\VisualConstructor\Views\Component\Base\setComponentName
setComponentName($componentName)
Definition
base.php:43
Bitrix\Catalog\Integration\Report\View\StoreStock
Definition
storestockgrid.php:3
modules
catalog
lib
integration
report
view
storestock
storestocksalechart.php
Создано системой
1.10.0