1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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
Определения
asset.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec
Определения
viewspec.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setMarkup
setMarkup(string $markup)
Определения
viewspec.php:55
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setStyles
setStyles(string $styles)
Определения
viewspec.php:95
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getStyles
getStyles()
Определения
viewspec.php:85
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setScript
setScript(string $script)
Определения
viewspec.php:75
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\toArray
toArray()
Определения
viewspec.php:31
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setSettings
setSettings(ViewSpecSettings $settings)
Определения
viewspec.php:115
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getScript
getScript()
Определения
viewspec.php:65
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getAssets
getAssets()
Определения
viewspec.php:125
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getMarkup
getMarkup()
Определения
viewspec.php:45
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\setAssets
setAssets(Asset $assets)
Определения
viewspec.php:135
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec\getSettings
getSettings()
Определения
viewspec.php:105
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings
Определения
viewspecsettings.php:6
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
Определения
tolokatransferobject.php:6
$settings
$settings
Определения
product_settings.php:43
bitrix
modules
sender
lib
integration
yandex
toloka
dto
viewspec.php
Создано системой
1.14.0