Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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
Definition
basehandler.php:26
Bitrix\Catalog\Integration\Report\Handler\StoreSale\ChartHandler
Definition
charthandler.php:12
Bitrix\Catalog\Integration\Report\View\CatalogView
Definition
catalogview.php:14
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart
Definition
storesalechart.php:12
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\__construct
__construct()
Definition
storesalechart.php:17
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\USE_IN_VISUAL_CONSTRUCTOR
const USE_IN_VISUAL_CONSTRUCTOR
Definition
storesalechart.php:15
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\MAX_RENDER_REPORT_COUNT
const MAX_RENDER_REPORT_COUNT
Definition
storesalechart.php:14
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\VIEW_KEY
const VIEW_KEY
Definition
storesalechart.php:13
Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart\getViewHandler
getViewHandler()
Definition
storesalechart.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\StoreSale
Definition
storesalechart.php:3
modules
catalog
lib
integration
report
view
storesale
storesalechart.php
Создано системой
1.10.0