1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
storesalechart.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Catalog\Integration\Report\View\StoreSale
;
4
5
use
Bitrix\Catalog\Integration\Report\Handler\BaseHandler
;
6
use
Bitrix\Catalog\Integration\Report\Handler\StoreSale\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
StoreSaleChart
extends
CatalogView
12
{
13
public
const
VIEW_KEY
=
'store_sale_chart'
;
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_SALE_CHART_LABEL'
));
22
$this->
setDraggable
(
false
);
23
$this->
setComponentName
(
'bitrix:catalog.report.store_sale.chart'
);
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
Определения
basehandler.php:26
Bitrix\Catalog\Integration\Report\Handler\StoreSale\ChartHandler
Определения
charthandler.php:12
Bitrix\Catalog\Integration\Report\View\CatalogView
Определения
catalogview.php:14
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart
Определения
storesalechart.php:12
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\__construct
__construct()
Определения
storesalechart.php:17
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\USE_IN_VISUAL_CONSTRUCTOR
const USE_IN_VISUAL_CONSTRUCTOR
Определения
storesalechart.php:15
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\MAX_RENDER_REPORT_COUNT
const MAX_RENDER_REPORT_COUNT
Определения
storesalechart.php:14
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\VIEW_KEY
const VIEW_KEY
Определения
storesalechart.php:13
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\getViewHandler
getViewHandler()
Определения
storesalechart.php:28
Bitrix\Main\Localization\Loc
Определения
loc.php:12
Bitrix\Report\VisualConstructor\Config\Common
Определения
common.php:11
Bitrix\Report\VisualConstructor\View\setDraggable
setDraggable($draggable)
Определения
view.php:453
Bitrix\Report\VisualConstructor\View\setPreviewImageUri
setPreviewImageUri($previewImageUri)
Определения
view.php:523
Bitrix\Report\VisualConstructor\View\setCompatibleDataType
setCompatibleDataType($compatibleDataType)
Определения
view.php:121
Bitrix\Report\VisualConstructor\View\setLabel
setLabel($label)
Определения
view.php:83
Bitrix\Report\VisualConstructor\Views\Component\Base\setComponentName
setComponentName($componentName)
Определения
base.php:43
Bitrix\Catalog\Integration\Report\View\StoreSale
Определения
storesalechart.php:3
bitrix
modules
catalog
lib
integration
report
view
storesale
storesalechart.php
Создано системой
1.14.0