Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
viewspec.php
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO
;
4
5
class
ViewSpec
implements
TolokaTransferObject
6
{
10
private
$markup;
11
15
private
$script;
16
20
private
$styles;
24
private
$assets;
25
29
private
$settings;
30
31
public
function
toArray
():array
32
{
33
return
[
34
'markup'
=> $this->markup,
35
'script'
=> $this->script,
36
'styles'
=> $this->styles,
37
'settings'
=> $this->settings->toArray(),
38
'assets'
=> $this->assets->toArray(),
39
];
40
}
41
45
public
function
getMarkup
(): string
46
{
47
return
$this->markup;
48
}
49
55
public
function
setMarkup
(
string
$markup):
ViewSpec
56
{
57
$this->markup = $markup;
58
59
return
$this;
60
}
61
65
public
function
getScript
(): string
66
{
67
return
$this->script;
68
}
69
75
public
function
setScript
(
string
$script):
ViewSpec
76
{
77
$this->script = $script;
78
79
return
$this;
80
}
81
85
public
function
getStyles
(): string
86
{
87
return
$this->styles;
88
}
89
95
public
function
setStyles
(
string
$styles):
ViewSpec
96
{
97
$this->styles = $styles;
98
99
return
$this;
100
}
101
105
public
function
getSettings
():
ViewSpecSettings
106
{
107
return
$this->settings;
108
}
109
115
public
function
setSettings
(
ViewSpecSettings
$settings):
ViewSpec
116
{
117
$this->settings = $settings;
118
119
return
$this;
120
}
121
125
public
function
getAssets
():
Asset
126
{
127
return
$this->assets;
128
}
129
135
public
function
setAssets
(
Asset
$assets):
ViewSpec
136
{
137
$this->assets = $assets;
138
139
return
$this;
140
}
141
}
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Asset
Definition
asset.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec
Definition
viewspec.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setMarkup
setMarkup(string $markup)
Definition
viewspec.php:55
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setStyles
setStyles(string $styles)
Definition
viewspec.php:95
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getStyles
getStyles()
Definition
viewspec.php:85
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setScript
setScript(string $script)
Definition
viewspec.php:75
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\toArray
toArray()
Definition
viewspec.php:31
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setSettings
setSettings(ViewSpecSettings $settings)
Definition
viewspec.php:115
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getScript
getScript()
Definition
viewspec.php:65
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getAssets
getAssets()
Definition
viewspec.php:125
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getMarkup
getMarkup()
Definition
viewspec.php:45
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setAssets
setAssets(Asset $assets)
Definition
viewspec.php:135
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getSettings
getSettings()
Definition
viewspec.php:105
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings
Definition
viewspecsettings.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
Definition
tolokatransferobject.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO
modules
sender
lib
integration
yandex
toloka
dto
viewspec.php
Создано системой
1.10.0