Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
viewspecsettings.php
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO
;
4
5
class
ViewSpecSettings
implements
TolokaTransferObject
6
{
7
11
private
$showTimer =
true
;
12
16
private
$showTitle =
true
;
17
21
private
$showInstructions =
true
;
22
26
private
$showFullscreen =
true
;
27
31
private
$showSubmit =
true
;
32
36
private
$showSkip =
true
;
37
41
private
$showFinish =
true
;
42
46
private
$showMessage =
true
;
47
51
public
function
isShowTimer
(): bool
52
{
53
return
$this->showTimer;
54
}
55
61
public
function
setShowTimer
(
bool
$showTimer):
ViewSpecSettings
62
{
63
$this->showTimer = $showTimer;
64
65
return
$this;
66
}
67
71
public
function
isShowTitle
(): bool
72
{
73
return
$this->showTitle;
74
}
75
81
public
function
setShowTitle
(
bool
$showTitle):
ViewSpecSettings
82
{
83
$this->showTitle = $showTitle;
84
85
return
$this;
86
}
87
91
public
function
isShowInstructions
(): bool
92
{
93
return
$this->showInstructions;
94
}
95
101
public
function
setShowInstructions
(
bool
$showInstructions):
ViewSpecSettings
102
{
103
$this->showInstructions = $showInstructions;
104
105
return
$this;
106
}
107
111
public
function
isShowFullscreen
(): bool
112
{
113
return
$this->showFullscreen;
114
}
115
121
public
function
setShowFullscreen
(
bool
$showFullscreen):
ViewSpecSettings
122
{
123
$this->showFullscreen = $showFullscreen;
124
125
return
$this;
126
}
127
131
public
function
isShowSubmit
(): bool
132
{
133
return
$this->showSubmit;
134
}
135
141
public
function
setShowSubmit
(
bool
$showSubmit):
ViewSpecSettings
142
{
143
$this->showSubmit = $showSubmit;
144
145
return
$this;
146
}
147
151
public
function
isShowSkip
(): bool
152
{
153
return
$this->showSkip;
154
}
155
161
public
function
setShowSkip
(
bool
$showSkip):
ViewSpecSettings
162
{
163
$this->showSkip = $showSkip;
164
165
return
$this;
166
}
167
171
public
function
isShowFinish
(): bool
172
{
173
return
$this->showFinish;
174
}
175
181
public
function
setShowFinish
(
bool
$showFinish):
ViewSpecSettings
182
{
183
$this->showFinish = $showFinish;
184
185
return
$this;
186
}
187
191
public
function
isShowMessage
(): bool
192
{
193
return
$this->showMessage;
194
}
195
201
public
function
setShowMessage
(
bool
$showMessage):
ViewSpecSettings
202
{
203
$this->showMessage = $showMessage;
204
205
return
$this;
206
}
207
208
public
function
toArray
():array
209
{
210
return
[
211
'show_timer'
=> $this->showTimer,
212
'show_title'
=> $this->showTitle,
213
'show_instructions'
=> $this->showInstructions,
214
'show_fullscreen'
=> $this->showFullscreen,
215
'show_submit'
=> $this->showSubmit,
216
'show_skip'
=> $this->showSkip,
217
'show_finish'
=> $this->showFinish,
218
'show_message'
=> $this->showMessage,
219
];
220
}
221
}
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings
Definition
viewspecsettings.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowFullscreen
isShowFullscreen()
Definition
viewspecsettings.php:111
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowTitle
setShowTitle(bool $showTitle)
Definition
viewspecsettings.php:81
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowFinish
setShowFinish(bool $showFinish)
Definition
viewspecsettings.php:181
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowSkip
isShowSkip()
Definition
viewspecsettings.php:151
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowTimer
setShowTimer(bool $showTimer)
Definition
viewspecsettings.php:61
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowFinish
isShowFinish()
Definition
viewspecsettings.php:171
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowFullscreen
setShowFullscreen(bool $showFullscreen)
Definition
viewspecsettings.php:121
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\toArray
toArray()
Definition
viewspecsettings.php:208
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowSubmit
isShowSubmit()
Definition
viewspecsettings.php:131
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowTitle
isShowTitle()
Definition
viewspecsettings.php:71
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowInstructions
isShowInstructions()
Definition
viewspecsettings.php:91
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowInstructions
setShowInstructions(bool $showInstructions)
Definition
viewspecsettings.php:101
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowMessage
setShowMessage(bool $showMessage)
Definition
viewspecsettings.php:201
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowSkip
setShowSkip(bool $showSkip)
Definition
viewspecsettings.php:161
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\setShowSubmit
setShowSubmit(bool $showSubmit)
Definition
viewspecsettings.php:141
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowTimer
isShowTimer()
Definition
viewspecsettings.php:51
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpecSettings\isShowMessage
isShowMessage()
Definition
viewspecsettings.php:191
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
Definition
tolokatransferobject.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO
modules
sender
lib
integration
yandex
toloka
dto
viewspecsettings.php
Создано системой
1.10.0