Completed
Push — master ( 0ae653...b8e04d )
by Viacheslav
01:59
created

Viewer::getP2()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 0
cts 3
cp 0
rs 10
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
4
namespace slavkluev\Bizon365\Models;
5
6
class Viewer extends Base
7
{
8
    protected $playVideo;
9
    protected $email;
10
    protected $phone;
11
    protected $username;
12
    protected $url;
13
    protected $ip;
14
    protected $mob;
15
    protected $useragent;
16
    protected $referer;
17
    protected $cu1;
18
    protected $p1;
19
    protected $p2;
20
    protected $p3;
21
    protected $roomid;
22
    protected $chatUserId;
23
    protected $city;
24
    protected $country;
25
    protected $region;
26
    protected $tz;
27
    protected $created;
28
    protected $view;
29
    protected $viewTill;
30
    protected $webinarId;
31
    protected $clickBanner;
32
    protected $clickFile;
33
    protected $vizitForm;
34
    protected $newOrder;
35
    protected $orderDetails;
36
    protected $messages_num;
37
    protected $finished;
38
    protected $uid;
39
40
    /**
41
     * @return bool
42
     */
43
    public function isPlayVideo()
44
    {
45
        return (bool)$this->playVideo;
46
    }
47
48
    /**
49
     * @return string
50
     */
51
    public function getEmail()
52
    {
53
        return $this->email;
54
    }
55
56
    /**
57
     * @return string
58
     */
59
    public function getPhone()
60
    {
61
        return $this->phone;
62
    }
63
64
    /**
65
     * @return string
66
     */
67
    public function getUsername()
68
    {
69
        return $this->username;
70
    }
71
72
    /**
73
     * @return string
74
     */
75
    public function getUrl()
76
    {
77
        return $this->url;
78
    }
79
80
    /**
81
     * @return string
82
     */
83
    public function getIp()
84
    {
85
        return $this->ip;
86
    }
87
88
    /**
89
     * @return bool
90
     */
91
    public function isMobile()
92
    {
93
        return (bool)$this->mob;
94
    }
95
96
    /**
97
     * @return string
98
     */
99
    public function getUseragent()
100
    {
101
        return $this->useragent;
102
    }
103
104
    /**
105
     * @return string
106
     */
107
    public function getReferer()
108
    {
109
        return $this->referer;
110
    }
111
112
    /**
113
     * @return string
114
     */
115
    public function getCu1()
116
    {
117
        return $this->cu1;
118
    }
119
120
    /**
121
     * @return string
122
     */
123
    public function getP1()
124
    {
125
        return $this->p1;
126
    }
127
128
    /**
129
     * @return string
130
     */
131
    public function getP2()
132
    {
133
        return $this->p2;
134
    }
135
136
    /**
137
     * @return string
138
     */
139
    public function getP3()
140
    {
141
        return $this->p3;
142
    }
143
144
    /**
145
     * @return string
146
     */
147
    public function getRoomId()
148
    {
149
        return $this->roomid;
150
    }
151
152
    /**
153
     * @return string
154
     */
155
    public function getChatUserId()
156
    {
157
        return $this->chatUserId;
158
    }
159
160
    /**
161
     * @return string
162
     */
163
    public function getCity()
164
    {
165
        return $this->city;
166
    }
167
168
    /**
169
     * @return string
170
     */
171
    public function getCountry()
172
    {
173
        return $this->country;
174
    }
175
176
    /**
177
     * @return string
178
     */
179
    public function getRegion()
180
    {
181
        return $this->region;
182
    }
183
184
    /**
185
     * @return string
186
     */
187
    public function getTz()
188
    {
189
        return $this->tz;
190
    }
191
192
    /**
193
     * @return string
194
     */
195
    public function getCreated()
196
    {
197
        return $this->created;
198
    }
199
200
    /**
201
     * @return int
202
     */
203
    public function getView()
204
    {
205
        return $this->view;
206
    }
207
208
    /**
209
     * @return int
210
     */
211
    public function getViewTill()
212
    {
213
        return $this->viewTill;
214
    }
215
216
    /**
217
     * @return string
218
     */
219
    public function getWebinarId()
220
    {
221
        return $this->webinarId;
222
    }
223
224
    /**
225
     * @return string
226
     */
227
    public function getClickBanner()
228
    {
229
        return $this->clickBanner;
230
    }
231
232
    /**
233
     * @return string
234
     */
235
    public function getClickFile()
236
    {
237
        return $this->clickFile;
238
    }
239
240
    /**
241
     * @return mixed
242
     */
243
    public function getVizitForm()
244
    {
245
        return $this->vizitForm;
246
    }
247
248
    /**
249
     * @return int
250
     */
251
    public function getNewOrder()
252
    {
253
        return $this->newOrder;
254
    }
255
256
    /**
257
     * @return string
258
     */
259
    public function getOrderDetails()
260
    {
261
        return $this->orderDetails;
262
    }
263
264
    /**
265
     * @return int
266
     */
267
    public function getMessagesNum()
268
    {
269
        return $this->messages_num;
270
    }
271
272
    /**
273
     * @return bool
274
     */
275
    public function isFinished()
276
    {
277
        return (bool)$this->finished;
278
    }
279
280
    /**
281
     * @return string
282
     */
283
    public function getUid()
284
    {
285
        return $this->uid;
286
    }
287
}
288