Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
restappboard.php
1
<?php
2
3
namespace
Bitrix\Report\VisualConstructor
;
4
5
class
RestAppBoard
extends
AnalyticBoard
6
{
7
protected
$placement
;
8
protected
$restAppId
;
9
protected
$placementHandlerId
;
10
14
public
function
getPlacement
()
15
{
16
return
$this->placement
;
17
}
18
22
public
function
setPlacement
(
$placement
): void
23
{
24
$this->placement =
$placement
;
25
}
26
30
public
function
getRestAppId
()
31
{
32
return
$this->restAppId
;
33
}
34
38
public
function
setRestAppId
(
$restAppId
): void
39
{
40
$this->restAppId =
$restAppId
;
41
}
42
46
public
function
getPlacementHandlerId
()
47
{
48
return
$this->placementHandlerId
;
49
}
50
54
public
function
setPlacementHandlerId
(
$placementHandlerId
): void
55
{
56
$this->placementHandlerId =
$placementHandlerId
;
57
}
58
59
public
function
getDisplayComponentName
()
60
{
61
return
'bitrix:app.layout'
;
62
}
63
64
public
function
getDisplayComponentParams
()
65
{
66
return
[
67
'PLACEMENT'
=> $this->
getPlacement
(),
68
'PLACEMENT_OPTIONS'
=> [],
69
'ID'
=> $this->
getRestAppId
(),
70
'PLACEMENT_ID'
=> $this->
getPlacementHandlerId
(),
71
'PARAM'
=> [
72
'FRAME_WIDTH'
=>
'100%'
,
73
'FRAME_HEIGHT'
=>
'calc(100vh - 75px)'
,
74
],
75
];
76
}
77
}
Bitrix\Report\VisualConstructor\AnalyticBoard
Definition
analyticboard.php:14
Bitrix\Report\VisualConstructor\RestAppBoard
Definition
restappboard.php:6
Bitrix\Report\VisualConstructor\RestAppBoard\$restAppId
$restAppId
Definition
restappboard.php:8
Bitrix\Report\VisualConstructor\RestAppBoard\setPlacement
setPlacement($placement)
Definition
restappboard.php:22
Bitrix\Report\VisualConstructor\RestAppBoard\setRestAppId
setRestAppId($restAppId)
Definition
restappboard.php:38
Bitrix\Report\VisualConstructor\RestAppBoard\$placementHandlerId
$placementHandlerId
Definition
restappboard.php:9
Bitrix\Report\VisualConstructor\RestAppBoard\getPlacement
getPlacement()
Definition
restappboard.php:14
Bitrix\Report\VisualConstructor\RestAppBoard\getDisplayComponentName
getDisplayComponentName()
Definition
restappboard.php:59
Bitrix\Report\VisualConstructor\RestAppBoard\getPlacementHandlerId
getPlacementHandlerId()
Definition
restappboard.php:46
Bitrix\Report\VisualConstructor\RestAppBoard\getDisplayComponentParams
getDisplayComponentParams()
Definition
restappboard.php:64
Bitrix\Report\VisualConstructor\RestAppBoard\$placement
$placement
Definition
restappboard.php:7
Bitrix\Report\VisualConstructor\RestAppBoard\getRestAppId
getRestAppId()
Definition
restappboard.php:30
Bitrix\Report\VisualConstructor\RestAppBoard\setPlacementHandlerId
setPlacementHandlerId($placementHandlerId)
Definition
restappboard.php:54
Bitrix\Report\VisualConstructor
Definition
analyticboard.php:2
modules
report
lib
visualconstructor
restappboard.php
Создано системой
1.10.0