|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace PlaygroundCore\Options; |
|
4
|
|
|
|
|
5
|
|
|
use Zend\Stdlib\AbstractOptions; |
|
6
|
|
|
|
|
7
|
|
|
class ModuleOptions extends AbstractOptions |
|
8
|
|
|
{ |
|
9
|
|
|
protected $bitlyUsername = ''; |
|
10
|
|
|
protected $bitlyApiKey = ''; |
|
11
|
|
|
protected $gReCaptchaKey = ''; |
|
12
|
|
|
protected $gReCaptchaUrl = ''; |
|
13
|
|
|
protected $bitlyUrl = 'http://api.bit.ly/v3/shorten'; |
|
14
|
|
|
protected $transport_class = 'Zend\Mail\Transport\File'; |
|
15
|
|
|
protected $options_class = 'Zend\Mail\Transport\FileOptions'; |
|
16
|
|
|
protected $options = array('path' => 'data/mail/'); |
|
17
|
|
|
protected $twilio = array(); |
|
18
|
|
|
protected $phpvideotoolkit = array(); |
|
19
|
|
|
protected $quConfig = array(); |
|
20
|
|
|
protected $googleAnalytics = array('id' => ''); |
|
21
|
|
|
protected $adServing = array(); |
|
22
|
|
|
protected $defaultShareMessage = 'Venez jouer'; |
|
23
|
|
|
protected $facebookOpengraph = array('appId' => ''); |
|
24
|
|
|
protected $twitterCard = array(); |
|
25
|
|
|
protected $locale = null; |
|
26
|
|
|
|
|
27
|
|
|
|
|
28
|
|
|
protected $ckeditor = array(); |
|
29
|
|
|
|
|
30
|
|
|
public function getDefaultShareMessage() |
|
31
|
|
|
{ |
|
32
|
|
|
return $this->defaultShareMessage; |
|
33
|
|
|
} |
|
34
|
|
|
|
|
35
|
|
|
public function setDefaultShareMessage($defaultShareMessage) |
|
36
|
|
|
{ |
|
37
|
|
|
$this->defaultShareMessage = $defaultShareMessage; |
|
38
|
|
|
|
|
39
|
|
|
return $this; |
|
40
|
|
|
} |
|
41
|
|
|
|
|
42
|
|
|
public function getAdServing() |
|
43
|
|
|
{ |
|
44
|
|
|
return $this->adServing; |
|
45
|
|
|
} |
|
46
|
|
|
|
|
47
|
|
|
public function setAdServing($adServing) |
|
48
|
|
|
{ |
|
49
|
|
|
$this->adServing = $adServing; |
|
50
|
|
|
|
|
51
|
|
|
return $this; |
|
52
|
|
|
} |
|
53
|
|
|
|
|
54
|
|
|
public function getGoogleAnalytics() |
|
55
|
|
|
{ |
|
56
|
|
|
return $this->googleAnalytics; |
|
57
|
|
|
} |
|
58
|
|
|
|
|
59
|
|
|
public function setGoogleAnalytics($googleAnalytics) |
|
60
|
|
|
{ |
|
61
|
|
|
$this->googleAnalytics = $googleAnalytics; |
|
62
|
|
|
|
|
63
|
|
|
return $this; |
|
64
|
|
|
} |
|
65
|
|
|
|
|
66
|
|
|
public function getFacebookOpengraph() |
|
67
|
|
|
{ |
|
68
|
|
|
return $this->facebookOpengraph; |
|
69
|
|
|
} |
|
70
|
|
|
|
|
71
|
|
|
public function setFacebookOpengraph($facebookOpengraph) |
|
72
|
|
|
{ |
|
73
|
|
|
$this->facebookOpengraph = $facebookOpengraph; |
|
74
|
|
|
|
|
75
|
|
|
return $this; |
|
76
|
|
|
} |
|
77
|
|
|
|
|
78
|
|
|
public function getTwitterCard() |
|
79
|
|
|
{ |
|
80
|
|
|
return $this->twitterCard; |
|
81
|
|
|
} |
|
82
|
|
|
|
|
83
|
|
|
public function setTwitterCard($twitterCard) |
|
84
|
|
|
{ |
|
85
|
|
|
$this->twitterCard = $twitterCard; |
|
86
|
|
|
return $this; |
|
87
|
|
|
} |
|
88
|
|
|
|
|
89
|
|
|
public function getQuConfig() |
|
90
|
|
|
{ |
|
91
|
|
|
return $this->quConfig; |
|
92
|
|
|
} |
|
93
|
|
|
|
|
94
|
|
|
public function setQuConfig($quConfig) |
|
95
|
|
|
{ |
|
96
|
|
|
$this->quConfig = $quConfig; |
|
97
|
|
|
|
|
98
|
|
|
return $this; |
|
99
|
|
|
} |
|
100
|
|
|
|
|
101
|
|
|
public function getCkeditor() |
|
102
|
|
|
{ |
|
103
|
|
|
return $this->ckeditor; |
|
104
|
|
|
} |
|
105
|
|
|
|
|
106
|
|
|
public function setCkeditor($ckeditor) |
|
107
|
|
|
{ |
|
108
|
|
|
$this->ckeditor = $ckeditor; |
|
109
|
|
|
|
|
110
|
|
|
return $this; |
|
111
|
|
|
} |
|
112
|
|
|
|
|
113
|
|
|
public function getTransportClass() |
|
114
|
|
|
{ |
|
115
|
|
|
return $this->transport_class; |
|
116
|
|
|
} |
|
117
|
|
|
|
|
118
|
|
|
public function setTransportClass($transport_class) |
|
119
|
|
|
{ |
|
120
|
|
|
$this->transport_class = $transport_class; |
|
121
|
|
|
|
|
122
|
|
|
return $this; |
|
123
|
|
|
} |
|
124
|
|
|
|
|
125
|
|
|
public function getOptionsClass() |
|
126
|
|
|
{ |
|
127
|
|
|
return $this->options_class; |
|
128
|
|
|
} |
|
129
|
|
|
|
|
130
|
|
|
public function setOptionsClass($options_class) |
|
131
|
|
|
{ |
|
132
|
|
|
$this->options_class = $options_class; |
|
133
|
|
|
|
|
134
|
|
|
return $this; |
|
135
|
|
|
} |
|
136
|
|
|
|
|
137
|
|
|
/** |
|
138
|
|
|
* @return the $twilio |
|
139
|
|
|
*/ |
|
140
|
|
|
public function getTwilio() |
|
141
|
|
|
{ |
|
142
|
|
|
return $this->twilio; |
|
143
|
|
|
} |
|
144
|
|
|
|
|
145
|
|
|
/** |
|
146
|
|
|
* @param multitype: $twilio |
|
|
|
|
|
|
147
|
|
|
*/ |
|
148
|
|
|
public function setTwilio($twilio) |
|
149
|
|
|
{ |
|
150
|
|
|
$this->twilio = $twilio; |
|
151
|
|
|
} |
|
152
|
|
|
|
|
153
|
|
|
/** |
|
154
|
|
|
* @return the $phpvideotoolkit |
|
155
|
|
|
*/ |
|
156
|
|
|
public function getPhpvideotoolkit() |
|
157
|
|
|
{ |
|
158
|
|
|
return $this->phpvideotoolkit; |
|
159
|
|
|
} |
|
160
|
|
|
|
|
161
|
|
|
/** |
|
162
|
|
|
* @param multitype: $phpvideotoolkit |
|
|
|
|
|
|
163
|
|
|
*/ |
|
164
|
|
|
public function setPhpvideotoolkit($phpvideotoolkit) |
|
165
|
|
|
{ |
|
166
|
|
|
$this->phpvideotoolkit = $phpvideotoolkit; |
|
167
|
|
|
} |
|
168
|
|
|
|
|
169
|
|
|
public function getOptions() |
|
170
|
|
|
{ |
|
171
|
|
|
return $this->options; |
|
172
|
|
|
} |
|
173
|
|
|
|
|
174
|
|
|
public function setOptions($options) |
|
175
|
|
|
{ |
|
176
|
|
|
$this->options = $options; |
|
177
|
|
|
|
|
178
|
|
|
return $this; |
|
179
|
|
|
} |
|
180
|
|
|
|
|
181
|
|
|
public function getBitlyUsername() |
|
182
|
|
|
{ |
|
183
|
|
|
return $this->bitlyUsername; |
|
184
|
|
|
} |
|
185
|
|
|
|
|
186
|
|
|
public function setBitlyUsername($bitlyUsername) |
|
187
|
|
|
{ |
|
188
|
|
|
$this->bitlyUsername = $bitlyUsername; |
|
189
|
|
|
|
|
190
|
|
|
return $this; |
|
191
|
|
|
} |
|
192
|
|
|
|
|
193
|
|
|
public function getGRecaptchaKey() |
|
194
|
|
|
{ |
|
195
|
|
|
return $this->gReCaptchaKey; |
|
196
|
|
|
} |
|
197
|
|
|
|
|
198
|
|
|
public function setGRecaptchaKey($gReCaptchaKey) |
|
199
|
|
|
{ |
|
200
|
|
|
$this->gReCaptchaKey = $gReCaptchaKey; |
|
201
|
|
|
|
|
202
|
|
|
return $this; |
|
203
|
|
|
} |
|
204
|
|
|
|
|
205
|
|
|
public function getGRecaptchaUrl() |
|
206
|
|
|
{ |
|
207
|
|
|
return $this->gReCaptchaUrl; |
|
208
|
|
|
} |
|
209
|
|
|
|
|
210
|
|
|
public function setGRecaptchaUrl($gReCaptchaUrl) |
|
211
|
|
|
{ |
|
212
|
|
|
$this->gReCaptchaUrl = $gReCaptchaUrl; |
|
213
|
|
|
|
|
214
|
|
|
return $this; |
|
215
|
|
|
} |
|
216
|
|
|
|
|
217
|
|
|
public function getBitlyApiKey() |
|
218
|
|
|
{ |
|
219
|
|
|
return $this->bitlyApiKey; |
|
220
|
|
|
} |
|
221
|
|
|
|
|
222
|
|
|
public function setBitlyApiKey($bitlyApiKey) |
|
223
|
|
|
{ |
|
224
|
|
|
$this->bitlyApiKey = $bitlyApiKey; |
|
225
|
|
|
|
|
226
|
|
|
return $this; |
|
227
|
|
|
} |
|
228
|
|
|
|
|
229
|
|
|
public function getBitlyUrl() |
|
230
|
|
|
{ |
|
231
|
|
|
return $this->bitlyUrl; |
|
232
|
|
|
} |
|
233
|
|
|
|
|
234
|
|
|
public function setBitlyUrl($bitlyUrl) |
|
235
|
|
|
{ |
|
236
|
|
|
$this->bitlyUrl = $bitlyUrl; |
|
237
|
|
|
|
|
238
|
|
|
return $this; |
|
239
|
|
|
} |
|
240
|
|
|
|
|
241
|
|
|
public function getLocale() |
|
242
|
|
|
{ |
|
243
|
|
|
return $this->locale; |
|
244
|
|
|
} |
|
245
|
|
|
|
|
246
|
|
|
public function setLocale($locale) |
|
247
|
|
|
{ |
|
248
|
|
|
$this->locale = $locale; |
|
249
|
|
|
|
|
250
|
|
|
return $this; |
|
251
|
|
|
} |
|
252
|
|
|
} |
|
253
|
|
|
|
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.