Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
storeprofitgrid.php
1
<?php
2
3
namespace
Bitrix\Catalog\Integration\Report\View\StoreProfit
;
4
5
use
Bitrix\Catalog\Integration\Report\Handler\BaseHandler
;
6
use
Bitrix\Catalog\Integration\Report\Handler\StoreProfit\GridHandler
;
7
use
Bitrix\Catalog\Integration\Report\View\CatalogView
;
8
use
Bitrix\Main\Localization\Loc
;
9
use
Bitrix\Report\VisualConstructor\Config\Common
;
10
11
class
StoreProfitGrid
extends
CatalogView
12
{
13
public
const
VIEW_KEY
=
'store_profit_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_SALE_GRID_LABEL'
));
22
$this->
setDraggable
(
false
);
23
$this->
setComponentName
(
'bitrix:catalog.report.store_profit.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
}
Bitrix\Catalog\Integration\Report\Handler\BaseHandler
Definition
basehandler.php:26
Bitrix\Catalog\Integration\Report\Handler\StoreProfit\GridHandler
Definition
gridhandler.php:9
Bitrix\Catalog\Integration\Report\View\CatalogView
Definition
catalogview.php:14
Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGrid
Definition
storeprofitgrid.php:12
Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGrid\__construct
__construct()
Definition
storeprofitgrid.php:17
Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGrid\USE_IN_VISUAL_CONSTRUCTOR
const USE_IN_VISUAL_CONSTRUCTOR
Definition
storeprofitgrid.php:15
Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGrid\MAX_RENDER_REPORT_COUNT
const MAX_RENDER_REPORT_COUNT
Definition
storeprofitgrid.php:14
Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGrid\VIEW_KEY
const VIEW_KEY
Definition
storeprofitgrid.php:13
Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGrid\getViewHandler
getViewHandler()
Definition
storeprofitgrid.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\Config\Common\MULTIPLE_REPORT_TYPE
const MULTIPLE_REPORT_TYPE
Definition
common.php:26
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\StoreProfit
Definition
storeprofitgraph.php:3
modules
catalog
lib
integration
report
view
storeprofit
storeprofitgrid.php
Создано системой
1.10.0