Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
storesaledashboard.php
1<?php
2
4
12
14{
15 public const BOARD_VERSION = 'v2';
16 public const BOARD_KEY = 'catalog_warehouse_sale';
17
18 public const ACCESS_BOARD_ID = 1;
19
20 public function getBoardKey(): string
21 {
22 return static::BOARD_KEY;
23 }
24
25 public function getAccessBoardId(): int
26 {
28 }
29
30 public function getBoardVersion(): string
31 {
32 return static::BOARD_VERSION;
33 }
34
36 {
37 $analyticBoard = parent::getAnalyticBoard();
38 $analyticBoard->setFilter(new StoreSaleFilter($this->getBoardKey()));
39
40 return $analyticBoard;
41 }
42
43 protected static function getDefaultGroup(): Group
44 {
45 return (new StoreGroup());
46 }
47
48 protected static function getDefaultViewList(): array
49 {
50 return [
51 new StoreSaleChart(),
52 new StoreSaleGrid(),
53 ];
54 }
55
56 public function getBoardTitle(): string
57 {
58 return Loc::getMessage('STORE_SALE_DASHBOARD_TITLE');
59 }
60}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29