Completed
Push — develop ( 2c8389...1b732a )
by Mikaël
35:25
created
tutorial.php 1 patch
Indentation   +264 added lines, -264 removed lines patch added patch discarded remove patch
@@ -22,38 +22,38 @@  discard block
 block discarded – undo
22 22
     \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => \Ews\EwsClassMap::get(),
23 23
 );
24 24
 /**
25
- * Samples for Resolve ServiceType
26
- */
25
+     * Samples for Resolve ServiceType
26
+     */
27 27
 $resolve = new \Ews\ServiceType\EwsResolve($options);
28 28
 $resolve->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
29 29
 $resolve->setSoapHeaderMailboxCulture($MailboxCulture);
30 30
 $resolve->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
31 31
 /**
32
- * Sample call for ResolveNames operation/method
33
- */
32
+     * Sample call for ResolveNames operation/method
33
+     */
34 34
 if ($resolve->ResolveNames(new \Ews\StructType\EwsResolveNamesType()) !== false) {
35 35
     print_r($resolve->getResult());
36 36
 } else {
37 37
     print_r($resolve->getLastError());
38 38
 }
39 39
 /**
40
- * Samples for Expand ServiceType
41
- */
40
+     * Samples for Expand ServiceType
41
+     */
42 42
 $expand = new \Ews\ServiceType\EwsExpand($options);
43 43
 $expand->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
44 44
 $expand->setSoapHeaderMailboxCulture($MailboxCulture);
45 45
 $expand->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
46 46
 /**
47
- * Sample call for ExpandDL operation/method
48
- */
47
+     * Sample call for ExpandDL operation/method
48
+     */
49 49
 if ($expand->ExpandDL(new \Ews\StructType\EwsExpandDLType()) !== false) {
50 50
     print_r($expand->getResult());
51 51
 } else {
52 52
     print_r($expand->getLastError());
53 53
 }
54 54
 /**
55
- * Samples for Get ServiceType
56
- */
55
+     * Samples for Get ServiceType
56
+     */
57 57
 $get = new \Ews\ServiceType\EwsGet($options);
58 58
 $get->setSoapHeaderMailboxCulture($MailboxCulture);
59 59
 $get->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
@@ -62,280 +62,280 @@  discard block
 block discarded – undo
62 62
 $get->setSoapHeaderManagementRole($ManagementRole);
63 63
 $get->setSoapHeaderDateTimePrecision($DateTimePrecision);
64 64
 /**
65
- * Sample call for GetServerTimeZones operation/method
66
- */
65
+     * Sample call for GetServerTimeZones operation/method
66
+     */
67 67
 if ($get->GetServerTimeZones(new \Ews\StructType\EwsGetServerTimeZonesType()) !== false) {
68 68
     print_r($get->getResult());
69 69
 } else {
70 70
     print_r($get->getLastError());
71 71
 }
72 72
 /**
73
- * Sample call for GetFolder operation/method
74
- */
73
+     * Sample call for GetFolder operation/method
74
+     */
75 75
 if ($get->GetFolder(new \Ews\StructType\EwsGetFolderType()) !== false) {
76 76
     print_r($get->getResult());
77 77
 } else {
78 78
     print_r($get->getLastError());
79 79
 }
80 80
 /**
81
- * Sample call for GetEvents operation/method
82
- */
81
+     * Sample call for GetEvents operation/method
82
+     */
83 83
 if ($get->GetEvents(new \Ews\StructType\EwsGetEventsType()) !== false) {
84 84
     print_r($get->getResult());
85 85
 } else {
86 86
     print_r($get->getLastError());
87 87
 }
88 88
 /**
89
- * Sample call for GetStreamingEvents operation/method
90
- */
89
+     * Sample call for GetStreamingEvents operation/method
90
+     */
91 91
 if ($get->GetStreamingEvents(new \Ews\StructType\EwsGetStreamingEventsType()) !== false) {
92 92
     print_r($get->getResult());
93 93
 } else {
94 94
     print_r($get->getLastError());
95 95
 }
96 96
 /**
97
- * Sample call for GetItem operation/method
98
- */
97
+     * Sample call for GetItem operation/method
98
+     */
99 99
 if ($get->GetItem(new \Ews\StructType\EwsGetItemType()) !== false) {
100 100
     print_r($get->getResult());
101 101
 } else {
102 102
     print_r($get->getLastError());
103 103
 }
104 104
 /**
105
- * Sample call for GetAttachment operation/method
106
- */
105
+     * Sample call for GetAttachment operation/method
106
+     */
107 107
 if ($get->GetAttachment(new \Ews\StructType\EwsGetAttachmentType()) !== false) {
108 108
     print_r($get->getResult());
109 109
 } else {
110 110
     print_r($get->getLastError());
111 111
 }
112 112
 /**
113
- * Sample call for GetClientAccessToken operation/method
114
- */
113
+     * Sample call for GetClientAccessToken operation/method
114
+     */
115 115
 if ($get->GetClientAccessToken(new \Ews\StructType\EwsGetClientAccessTokenType()) !== false) {
116 116
     print_r($get->getResult());
117 117
 } else {
118 118
     print_r($get->getLastError());
119 119
 }
120 120
 /**
121
- * Sample call for GetDelegate operation/method
122
- */
121
+     * Sample call for GetDelegate operation/method
122
+     */
123 123
 if ($get->GetDelegate(new \Ews\StructType\EwsGetDelegateType()) !== false) {
124 124
     print_r($get->getResult());
125 125
 } else {
126 126
     print_r($get->getLastError());
127 127
 }
128 128
 /**
129
- * Sample call for GetUserConfiguration operation/method
130
- */
129
+     * Sample call for GetUserConfiguration operation/method
130
+     */
131 131
 if ($get->GetUserConfiguration(new \Ews\StructType\EwsGetUserConfigurationType()) !== false) {
132 132
     print_r($get->getResult());
133 133
 } else {
134 134
     print_r($get->getLastError());
135 135
 }
136 136
 /**
137
- * Sample call for GetUserAvailability operation/method
138
- */
137
+     * Sample call for GetUserAvailability operation/method
138
+     */
139 139
 if ($get->GetUserAvailability(new \Ews\StructType\EwsGetUserAvailabilityRequestType()) !== false) {
140 140
     print_r($get->getResult());
141 141
 } else {
142 142
     print_r($get->getLastError());
143 143
 }
144 144
 /**
145
- * Sample call for GetUserOofSettings operation/method
146
- */
145
+     * Sample call for GetUserOofSettings operation/method
146
+     */
147 147
 if ($get->GetUserOofSettings(new \Ews\StructType\EwsGetUserOofSettingsRequest()) !== false) {
148 148
     print_r($get->getResult());
149 149
 } else {
150 150
     print_r($get->getLastError());
151 151
 }
152 152
 /**
153
- * Sample call for GetServiceConfiguration operation/method
154
- */
153
+     * Sample call for GetServiceConfiguration operation/method
154
+     */
155 155
 if ($get->GetServiceConfiguration(new \Ews\StructType\EwsGetServiceConfigurationType()) !== false) {
156 156
     print_r($get->getResult());
157 157
 } else {
158 158
     print_r($get->getLastError());
159 159
 }
160 160
 /**
161
- * Sample call for GetMailTips operation/method
162
- */
161
+     * Sample call for GetMailTips operation/method
162
+     */
163 163
 if ($get->GetMailTips(new \Ews\StructType\EwsGetMailTipsType()) !== false) {
164 164
     print_r($get->getResult());
165 165
 } else {
166 166
     print_r($get->getLastError());
167 167
 }
168 168
 /**
169
- * Sample call for GetPhoneCallInformation operation/method
170
- */
169
+     * Sample call for GetPhoneCallInformation operation/method
170
+     */
171 171
 if ($get->GetPhoneCallInformation(new \Ews\StructType\EwsGetPhoneCallInformationType()) !== false) {
172 172
     print_r($get->getResult());
173 173
 } else {
174 174
     print_r($get->getLastError());
175 175
 }
176 176
 /**
177
- * Sample call for GetSharingMetadata operation/method
178
- */
177
+     * Sample call for GetSharingMetadata operation/method
178
+     */
179 179
 if ($get->GetSharingMetadata(new \Ews\StructType\EwsGetSharingMetadataType()) !== false) {
180 180
     print_r($get->getResult());
181 181
 } else {
182 182
     print_r($get->getLastError());
183 183
 }
184 184
 /**
185
- * Sample call for GetSharingFolder operation/method
186
- */
185
+     * Sample call for GetSharingFolder operation/method
186
+     */
187 187
 if ($get->GetSharingFolder(new \Ews\StructType\EwsGetSharingFolderType()) !== false) {
188 188
     print_r($get->getResult());
189 189
 } else {
190 190
     print_r($get->getLastError());
191 191
 }
192 192
 /**
193
- * Sample call for GetRoomLists operation/method
194
- */
193
+     * Sample call for GetRoomLists operation/method
194
+     */
195 195
 if ($get->GetRoomLists(new \Ews\StructType\EwsGetRoomListsType()) !== false) {
196 196
     print_r($get->getResult());
197 197
 } else {
198 198
     print_r($get->getLastError());
199 199
 }
200 200
 /**
201
- * Sample call for GetRooms operation/method
202
- */
201
+     * Sample call for GetRooms operation/method
202
+     */
203 203
 if ($get->GetRooms(new \Ews\StructType\EwsGetRoomsType()) !== false) {
204 204
     print_r($get->getResult());
205 205
 } else {
206 206
     print_r($get->getLastError());
207 207
 }
208 208
 /**
209
- * Sample call for GetMessageTrackingReport operation/method
210
- */
209
+     * Sample call for GetMessageTrackingReport operation/method
210
+     */
211 211
 if ($get->GetMessageTrackingReport(new \Ews\StructType\EwsGetMessageTrackingReportRequestType()) !== false) {
212 212
     print_r($get->getResult());
213 213
 } else {
214 214
     print_r($get->getLastError());
215 215
 }
216 216
 /**
217
- * Sample call for GetConversationItems operation/method
218
- */
217
+     * Sample call for GetConversationItems operation/method
218
+     */
219 219
 if ($get->GetConversationItems(new \Ews\StructType\EwsGetConversationItemsType()) !== false) {
220 220
     print_r($get->getResult());
221 221
 } else {
222 222
     print_r($get->getLastError());
223 223
 }
224 224
 /**
225
- * Sample call for GetPersona operation/method
226
- */
225
+     * Sample call for GetPersona operation/method
226
+     */
227 227
 if ($get->GetPersona(new \Ews\StructType\EwsGetPersonaType()) !== false) {
228 228
     print_r($get->getResult());
229 229
 } else {
230 230
     print_r($get->getLastError());
231 231
 }
232 232
 /**
233
- * Sample call for GetInboxRules operation/method
234
- */
233
+     * Sample call for GetInboxRules operation/method
234
+     */
235 235
 if ($get->GetInboxRules(new \Ews\StructType\EwsGetInboxRulesRequestType()) !== false) {
236 236
     print_r($get->getResult());
237 237
 } else {
238 238
     print_r($get->getLastError());
239 239
 }
240 240
 /**
241
- * Sample call for GetPasswordExpirationDate operation/method
242
- */
241
+     * Sample call for GetPasswordExpirationDate operation/method
242
+     */
243 243
 if ($get->GetPasswordExpirationDate(new \Ews\StructType\EwsGetPasswordExpirationDateType()) !== false) {
244 244
     print_r($get->getResult());
245 245
 } else {
246 246
     print_r($get->getLastError());
247 247
 }
248 248
 /**
249
- * Sample call for GetDiscoverySearchConfiguration operation/method
250
- */
249
+     * Sample call for GetDiscoverySearchConfiguration operation/method
250
+     */
251 251
 if ($get->GetDiscoverySearchConfiguration(new \Ews\StructType\EwsGetDiscoverySearchConfigurationType()) !== false) {
252 252
     print_r($get->getResult());
253 253
 } else {
254 254
     print_r($get->getLastError());
255 255
 }
256 256
 /**
257
- * Sample call for GetSearchableMailboxes operation/method
258
- */
257
+     * Sample call for GetSearchableMailboxes operation/method
258
+     */
259 259
 if ($get->GetSearchableMailboxes(new \Ews\StructType\EwsGetSearchableMailboxesType()) !== false) {
260 260
     print_r($get->getResult());
261 261
 } else {
262 262
     print_r($get->getLastError());
263 263
 }
264 264
 /**
265
- * Sample call for GetHoldOnMailboxes operation/method
266
- */
265
+     * Sample call for GetHoldOnMailboxes operation/method
266
+     */
267 267
 if ($get->GetHoldOnMailboxes(new \Ews\StructType\EwsGetHoldOnMailboxesType()) !== false) {
268 268
     print_r($get->getResult());
269 269
 } else {
270 270
     print_r($get->getLastError());
271 271
 }
272 272
 /**
273
- * Sample call for GetNonIndexableItemStatistics operation/method
274
- */
273
+     * Sample call for GetNonIndexableItemStatistics operation/method
274
+     */
275 275
 if ($get->GetNonIndexableItemStatistics(new \Ews\StructType\EwsGetNonIndexableItemStatisticsType()) !== false) {
276 276
     print_r($get->getResult());
277 277
 } else {
278 278
     print_r($get->getLastError());
279 279
 }
280 280
 /**
281
- * Sample call for GetNonIndexableItemDetails operation/method
282
- */
281
+     * Sample call for GetNonIndexableItemDetails operation/method
282
+     */
283 283
 if ($get->GetNonIndexableItemDetails(new \Ews\StructType\EwsGetNonIndexableItemDetailsType()) !== false) {
284 284
     print_r($get->getResult());
285 285
 } else {
286 286
     print_r($get->getLastError());
287 287
 }
288 288
 /**
289
- * Sample call for GetAppManifests operation/method
290
- */
289
+     * Sample call for GetAppManifests operation/method
290
+     */
291 291
 if ($get->GetAppManifests(new \Ews\StructType\EwsGetAppManifestsType()) !== false) {
292 292
     print_r($get->getResult());
293 293
 } else {
294 294
     print_r($get->getLastError());
295 295
 }
296 296
 /**
297
- * Sample call for GetImItemList operation/method
298
- */
297
+     * Sample call for GetImItemList operation/method
298
+     */
299 299
 if ($get->GetImItemList(new \Ews\StructType\EwsGetImItemListType()) !== false) {
300 300
     print_r($get->getResult());
301 301
 } else {
302 302
     print_r($get->getLastError());
303 303
 }
304 304
 /**
305
- * Sample call for GetImItems operation/method
306
- */
305
+     * Sample call for GetImItems operation/method
306
+     */
307 307
 if ($get->GetImItems(new \Ews\StructType\EwsGetImItemsType()) !== false) {
308 308
     print_r($get->getResult());
309 309
 } else {
310 310
     print_r($get->getLastError());
311 311
 }
312 312
 /**
313
- * Sample call for GetUserRetentionPolicyTags operation/method
314
- */
313
+     * Sample call for GetUserRetentionPolicyTags operation/method
314
+     */
315 315
 if ($get->GetUserRetentionPolicyTags(new \Ews\StructType\EwsGetUserRetentionPolicyTagsType()) !== false) {
316 316
     print_r($get->getResult());
317 317
 } else {
318 318
     print_r($get->getLastError());
319 319
 }
320 320
 /**
321
- * Sample call for GetAppMarketplaceUrl operation/method
322
- */
321
+     * Sample call for GetAppMarketplaceUrl operation/method
322
+     */
323 323
 if ($get->GetAppMarketplaceUrl(new \Ews\StructType\EwsGetAppMarketplaceUrlType()) !== false) {
324 324
     print_r($get->getResult());
325 325
 } else {
326 326
     print_r($get->getLastError());
327 327
 }
328 328
 /**
329
- * Sample call for GetUserPhoto operation/method
330
- */
329
+     * Sample call for GetUserPhoto operation/method
330
+     */
331 331
 if ($get->GetUserPhoto(new \Ews\StructType\EwsGetUserPhotoType()) !== false) {
332 332
     print_r($get->getResult());
333 333
 } else {
334 334
     print_r($get->getLastError());
335 335
 }
336 336
 /**
337
- * Samples for Find ServiceType
338
- */
337
+     * Samples for Find ServiceType
338
+     */
339 339
 $find = new \Ews\ServiceType\EwsFind($options);
340 340
 $find->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
341 341
 $find->setSoapHeaderMailboxCulture($MailboxCulture);
@@ -344,219 +344,219 @@  discard block
 block discarded – undo
344 344
 $find->setSoapHeaderManagementRole($ManagementRole);
345 345
 $find->setSoapHeaderDateTimePrecision($DateTimePrecision);
346 346
 /**
347
- * Sample call for FindFolder operation/method
348
- */
347
+     * Sample call for FindFolder operation/method
348
+     */
349 349
 if ($find->FindFolder(new \Ews\StructType\EwsFindFolderType()) !== false) {
350 350
     print_r($find->getResult());
351 351
 } else {
352 352
     print_r($find->getLastError());
353 353
 }
354 354
 /**
355
- * Sample call for FindItem operation/method
356
- */
355
+     * Sample call for FindItem operation/method
356
+     */
357 357
 if ($find->FindItem(new \Ews\StructType\EwsFindItemType()) !== false) {
358 358
     print_r($find->getResult());
359 359
 } else {
360 360
     print_r($find->getLastError());
361 361
 }
362 362
 /**
363
- * Sample call for FindMessageTrackingReport operation/method
364
- */
363
+     * Sample call for FindMessageTrackingReport operation/method
364
+     */
365 365
 if ($find->FindMessageTrackingReport(new \Ews\StructType\EwsFindMessageTrackingReportRequestType()) !== false) {
366 366
     print_r($find->getResult());
367 367
 } else {
368 368
     print_r($find->getLastError());
369 369
 }
370 370
 /**
371
- * Sample call for FindConversation operation/method
372
- */
371
+     * Sample call for FindConversation operation/method
372
+     */
373 373
 if ($find->FindConversation(new \Ews\StructType\EwsFindConversationType()) !== false) {
374 374
     print_r($find->getResult());
375 375
 } else {
376 376
     print_r($find->getLastError());
377 377
 }
378 378
 /**
379
- * Sample call for FindPeople operation/method
380
- */
379
+     * Sample call for FindPeople operation/method
380
+     */
381 381
 if ($find->FindPeople(new \Ews\StructType\EwsFindPeopleType()) !== false) {
382 382
     print_r($find->getResult());
383 383
 } else {
384 384
     print_r($find->getLastError());
385 385
 }
386 386
 /**
387
- * Sample call for FindAvailableMeetingTimes operation/method
388
- */
387
+     * Sample call for FindAvailableMeetingTimes operation/method
388
+     */
389 389
 if ($find->FindAvailableMeetingTimes(new \Ews\StructType\EwsFindAvailableMeetingTimesType()) !== false) {
390 390
     print_r($find->getResult());
391 391
 } else {
392 392
     print_r($find->getLastError());
393 393
 }
394 394
 /**
395
- * Sample call for FindMeetingTimeCandidates operation/method
396
- */
395
+     * Sample call for FindMeetingTimeCandidates operation/method
396
+     */
397 397
 if ($find->FindMeetingTimeCandidates(new \Ews\StructType\EwsFindMeetingTimeCandidatesType()) !== false) {
398 398
     print_r($find->getResult());
399 399
 } else {
400 400
     print_r($find->getLastError());
401 401
 }
402 402
 /**
403
- * Samples for Convert ServiceType
404
- */
403
+     * Samples for Convert ServiceType
404
+     */
405 405
 $convert = new \Ews\ServiceType\EwsConvert($options);
406 406
 $convert->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
407 407
 $convert->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
408 408
 /**
409
- * Sample call for ConvertId operation/method
410
- */
409
+     * Sample call for ConvertId operation/method
410
+     */
411 411
 if ($convert->ConvertId(new \Ews\StructType\EwsConvertIdType()) !== false) {
412 412
     print_r($convert->getResult());
413 413
 } else {
414 414
     print_r($convert->getLastError());
415 415
 }
416 416
 /**
417
- * Samples for Upload ServiceType
418
- */
417
+     * Samples for Upload ServiceType
418
+     */
419 419
 $upload = new \Ews\ServiceType\EwsUpload($options);
420 420
 $upload->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
421 421
 $upload->setSoapHeaderMailboxCulture($MailboxCulture);
422 422
 $upload->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
423 423
 /**
424
- * Sample call for UploadItems operation/method
425
- */
424
+     * Sample call for UploadItems operation/method
425
+     */
426 426
 if ($upload->UploadItems(new \Ews\StructType\EwsUploadItemsType()) !== false) {
427 427
     print_r($upload->getResult());
428 428
 } else {
429 429
     print_r($upload->getLastError());
430 430
 }
431 431
 /**
432
- * Samples for Export ServiceType
433
- */
432
+     * Samples for Export ServiceType
433
+     */
434 434
 $export = new \Ews\ServiceType\EwsExport($options);
435 435
 $export->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
436 436
 $export->setSoapHeaderMailboxCulture($MailboxCulture);
437 437
 $export->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
438 438
 $export->setSoapHeaderManagementRole($ManagementRole);
439 439
 /**
440
- * Sample call for ExportItems operation/method
441
- */
440
+     * Sample call for ExportItems operation/method
441
+     */
442 442
 if ($export->ExportItems(new \Ews\StructType\EwsExportItemsType()) !== false) {
443 443
     print_r($export->getResult());
444 444
 } else {
445 445
     print_r($export->getLastError());
446 446
 }
447 447
 /**
448
- * Samples for Create ServiceType
449
- */
448
+     * Samples for Create ServiceType
449
+     */
450 450
 $create = new \Ews\ServiceType\EwsCreate($options);
451 451
 $create->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
452 452
 $create->setSoapHeaderMailboxCulture($MailboxCulture);
453 453
 $create->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
454 454
 $create->setSoapHeaderTimeZoneContext($TimeZoneContext);
455 455
 /**
456
- * Sample call for CreateFolderPath operation/method
457
- */
456
+     * Sample call for CreateFolderPath operation/method
457
+     */
458 458
 if ($create->CreateFolderPath(new \Ews\StructType\EwsCreateFolderPathType()) !== false) {
459 459
     print_r($create->getResult());
460 460
 } else {
461 461
     print_r($create->getLastError());
462 462
 }
463 463
 /**
464
- * Sample call for CreateFolder operation/method
465
- */
464
+     * Sample call for CreateFolder operation/method
465
+     */
466 466
 if ($create->CreateFolder(new \Ews\StructType\EwsCreateFolderType()) !== false) {
467 467
     print_r($create->getResult());
468 468
 } else {
469 469
     print_r($create->getLastError());
470 470
 }
471 471
 /**
472
- * Sample call for CreateItem operation/method
473
- */
472
+     * Sample call for CreateItem operation/method
473
+     */
474 474
 if ($create->CreateItem(new \Ews\StructType\EwsCreateItemType()) !== false) {
475 475
     print_r($create->getResult());
476 476
 } else {
477 477
     print_r($create->getLastError());
478 478
 }
479 479
 /**
480
- * Sample call for CreateAttachment operation/method
481
- */
480
+     * Sample call for CreateAttachment operation/method
481
+     */
482 482
 if ($create->CreateAttachment(new \Ews\StructType\EwsCreateAttachmentType()) !== false) {
483 483
     print_r($create->getResult());
484 484
 } else {
485 485
     print_r($create->getLastError());
486 486
 }
487 487
 /**
488
- * Sample call for CreateManagedFolder operation/method
489
- */
488
+     * Sample call for CreateManagedFolder operation/method
489
+     */
490 490
 if ($create->CreateManagedFolder(new \Ews\StructType\EwsCreateManagedFolderRequestType()) !== false) {
491 491
     print_r($create->getResult());
492 492
 } else {
493 493
     print_r($create->getLastError());
494 494
 }
495 495
 /**
496
- * Sample call for CreateUserConfiguration operation/method
497
- */
496
+     * Sample call for CreateUserConfiguration operation/method
497
+     */
498 498
 if ($create->CreateUserConfiguration(new \Ews\StructType\EwsCreateUserConfigurationType()) !== false) {
499 499
     print_r($create->getResult());
500 500
 } else {
501 501
     print_r($create->getLastError());
502 502
 }
503 503
 /**
504
- * Samples for Delete ServiceType
505
- */
504
+     * Samples for Delete ServiceType
505
+     */
506 506
 $delete = new \Ews\ServiceType\EwsDelete($options);
507 507
 $delete->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
508 508
 $delete->setSoapHeaderMailboxCulture($MailboxCulture);
509 509
 $delete->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
510 510
 /**
511
- * Sample call for DeleteFolder operation/method
512
- */
511
+     * Sample call for DeleteFolder operation/method
512
+     */
513 513
 if ($delete->DeleteFolder(new \Ews\StructType\EwsDeleteFolderType()) !== false) {
514 514
     print_r($delete->getResult());
515 515
 } else {
516 516
     print_r($delete->getLastError());
517 517
 }
518 518
 /**
519
- * Sample call for DeleteItem operation/method
520
- */
519
+     * Sample call for DeleteItem operation/method
520
+     */
521 521
 if ($delete->DeleteItem(new \Ews\StructType\EwsDeleteItemType()) !== false) {
522 522
     print_r($delete->getResult());
523 523
 } else {
524 524
     print_r($delete->getLastError());
525 525
 }
526 526
 /**
527
- * Sample call for DeleteAttachment operation/method
528
- */
527
+     * Sample call for DeleteAttachment operation/method
528
+     */
529 529
 if ($delete->DeleteAttachment(new \Ews\StructType\EwsDeleteAttachmentType()) !== false) {
530 530
     print_r($delete->getResult());
531 531
 } else {
532 532
     print_r($delete->getLastError());
533 533
 }
534 534
 /**
535
- * Sample call for DeleteUserConfiguration operation/method
536
- */
535
+     * Sample call for DeleteUserConfiguration operation/method
536
+     */
537 537
 if ($delete->DeleteUserConfiguration(new \Ews\StructType\EwsDeleteUserConfigurationType()) !== false) {
538 538
     print_r($delete->getResult());
539 539
 } else {
540 540
     print_r($delete->getLastError());
541 541
 }
542 542
 /**
543
- * Samples for Empty ServiceType
544
- */
543
+     * Samples for Empty ServiceType
544
+     */
545 545
 $empty = new \Ews\ServiceType\EwsEmpty($options);
546 546
 $empty->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
547 547
 $empty->setSoapHeaderMailboxCulture($MailboxCulture);
548 548
 $empty->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
549 549
 /**
550
- * Sample call for EmptyFolder operation/method
551
- */
550
+     * Sample call for EmptyFolder operation/method
551
+     */
552 552
 if ($empty->EmptyFolder(new \Ews\StructType\EwsEmptyFolderType()) !== false) {
553 553
     print_r($empty->getResult());
554 554
 } else {
555 555
     print_r($empty->getLastError());
556 556
 }
557 557
 /**
558
- * Samples for Update ServiceType
559
- */
558
+     * Samples for Update ServiceType
559
+     */
560 560
 $update = new \Ews\ServiceType\EwsUpdate($options);
561 561
 $update->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
562 562
 $update->setSoapHeaderMailboxCulture($MailboxCulture);
@@ -564,481 +564,481 @@  discard block
 block discarded – undo
564 564
 $update->setSoapHeaderTimeZoneContext($TimeZoneContext);
565 565
 $update->setSoapHeaderManagementRole($ManagementRole);
566 566
 /**
567
- * Sample call for UpdateFolder operation/method
568
- */
567
+     * Sample call for UpdateFolder operation/method
568
+     */
569 569
 if ($update->UpdateFolder(new \Ews\StructType\EwsUpdateFolderType()) !== false) {
570 570
     print_r($update->getResult());
571 571
 } else {
572 572
     print_r($update->getLastError());
573 573
 }
574 574
 /**
575
- * Sample call for UpdateItem operation/method
576
- */
575
+     * Sample call for UpdateItem operation/method
576
+     */
577 577
 if ($update->UpdateItem(new \Ews\StructType\EwsUpdateItemType()) !== false) {
578 578
     print_r($update->getResult());
579 579
 } else {
580 580
     print_r($update->getLastError());
581 581
 }
582 582
 /**
583
- * Sample call for UpdateItemInRecoverableItems operation/method
584
- */
583
+     * Sample call for UpdateItemInRecoverableItems operation/method
584
+     */
585 585
 if ($update->UpdateItemInRecoverableItems(new \Ews\StructType\EwsUpdateItemInRecoverableItemsType()) !== false) {
586 586
     print_r($update->getResult());
587 587
 } else {
588 588
     print_r($update->getLastError());
589 589
 }
590 590
 /**
591
- * Sample call for UpdateDelegate operation/method
592
- */
591
+     * Sample call for UpdateDelegate operation/method
592
+     */
593 593
 if ($update->UpdateDelegate(new \Ews\StructType\EwsUpdateDelegateType()) !== false) {
594 594
     print_r($update->getResult());
595 595
 } else {
596 596
     print_r($update->getLastError());
597 597
 }
598 598
 /**
599
- * Sample call for UpdateUserConfiguration operation/method
600
- */
599
+     * Sample call for UpdateUserConfiguration operation/method
600
+     */
601 601
 if ($update->UpdateUserConfiguration(new \Ews\StructType\EwsUpdateUserConfigurationType()) !== false) {
602 602
     print_r($update->getResult());
603 603
 } else {
604 604
     print_r($update->getLastError());
605 605
 }
606 606
 /**
607
- * Sample call for UpdateInboxRules operation/method
608
- */
607
+     * Sample call for UpdateInboxRules operation/method
608
+     */
609 609
 if ($update->UpdateInboxRules(new \Ews\StructType\EwsUpdateInboxRulesRequestType()) !== false) {
610 610
     print_r($update->getResult());
611 611
 } else {
612 612
     print_r($update->getLastError());
613 613
 }
614 614
 /**
615
- * Samples for Move ServiceType
616
- */
615
+     * Samples for Move ServiceType
616
+     */
617 617
 $move = new \Ews\ServiceType\EwsMove($options);
618 618
 $move->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
619 619
 $move->setSoapHeaderMailboxCulture($MailboxCulture);
620 620
 $move->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
621 621
 /**
622
- * Sample call for MoveFolder operation/method
623
- */
622
+     * Sample call for MoveFolder operation/method
623
+     */
624 624
 if ($move->MoveFolder(new \Ews\StructType\EwsMoveFolderType()) !== false) {
625 625
     print_r($move->getResult());
626 626
 } else {
627 627
     print_r($move->getLastError());
628 628
 }
629 629
 /**
630
- * Sample call for MoveItem operation/method
631
- */
630
+     * Sample call for MoveItem operation/method
631
+     */
632 632
 if ($move->MoveItem(new \Ews\StructType\EwsMoveItemType()) !== false) {
633 633
     print_r($move->getResult());
634 634
 } else {
635 635
     print_r($move->getLastError());
636 636
 }
637 637
 /**
638
- * Samples for Copy ServiceType
639
- */
638
+     * Samples for Copy ServiceType
639
+     */
640 640
 $copy = new \Ews\ServiceType\EwsCopy($options);
641 641
 $copy->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
642 642
 $copy->setSoapHeaderMailboxCulture($MailboxCulture);
643 643
 $copy->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
644 644
 /**
645
- * Sample call for CopyFolder operation/method
646
- */
645
+     * Sample call for CopyFolder operation/method
646
+     */
647 647
 if ($copy->CopyFolder(new \Ews\StructType\EwsCopyFolderType()) !== false) {
648 648
     print_r($copy->getResult());
649 649
 } else {
650 650
     print_r($copy->getLastError());
651 651
 }
652 652
 /**
653
- * Sample call for CopyItem operation/method
654
- */
653
+     * Sample call for CopyItem operation/method
654
+     */
655 655
 if ($copy->CopyItem(new \Ews\StructType\EwsCopyItemType()) !== false) {
656 656
     print_r($copy->getResult());
657 657
 } else {
658 658
     print_r($copy->getLastError());
659 659
 }
660 660
 /**
661
- * Samples for Subscribe ServiceType
662
- */
661
+     * Samples for Subscribe ServiceType
662
+     */
663 663
 $subscribe = new \Ews\ServiceType\EwsSubscribe($options);
664 664
 $subscribe->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
665 665
 $subscribe->setSoapHeaderMailboxCulture($MailboxCulture);
666 666
 $subscribe->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
667 667
 /**
668
- * Sample call for Subscribe operation/method
669
- */
668
+     * Sample call for Subscribe operation/method
669
+     */
670 670
 if ($subscribe->Subscribe(new \Ews\StructType\EwsSubscribeType()) !== false) {
671 671
     print_r($subscribe->getResult());
672 672
 } else {
673 673
     print_r($subscribe->getLastError());
674 674
 }
675 675
 /**
676
- * Samples for Unsubscribe ServiceType
677
- */
676
+     * Samples for Unsubscribe ServiceType
677
+     */
678 678
 $unsubscribe = new \Ews\ServiceType\EwsUnsubscribe($options);
679 679
 $unsubscribe->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
680 680
 $unsubscribe->setSoapHeaderMailboxCulture($MailboxCulture);
681 681
 $unsubscribe->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
682 682
 /**
683
- * Sample call for Unsubscribe operation/method
684
- */
683
+     * Sample call for Unsubscribe operation/method
684
+     */
685 685
 if ($unsubscribe->Unsubscribe(new \Ews\StructType\EwsUnsubscribeType()) !== false) {
686 686
     print_r($unsubscribe->getResult());
687 687
 } else {
688 688
     print_r($unsubscribe->getLastError());
689 689
 }
690 690
 /**
691
- * Samples for Sync ServiceType
692
- */
691
+     * Samples for Sync ServiceType
692
+     */
693 693
 $sync = new \Ews\ServiceType\EwsSync($options);
694 694
 $sync->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
695 695
 $sync->setSoapHeaderMailboxCulture($MailboxCulture);
696 696
 $sync->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
697 697
 /**
698
- * Sample call for SyncFolderHierarchy operation/method
699
- */
698
+     * Sample call for SyncFolderHierarchy operation/method
699
+     */
700 700
 if ($sync->SyncFolderHierarchy(new \Ews\StructType\EwsSyncFolderHierarchyType()) !== false) {
701 701
     print_r($sync->getResult());
702 702
 } else {
703 703
     print_r($sync->getLastError());
704 704
 }
705 705
 /**
706
- * Sample call for SyncFolderItems operation/method
707
- */
706
+     * Sample call for SyncFolderItems operation/method
707
+     */
708 708
 if ($sync->SyncFolderItems(new \Ews\StructType\EwsSyncFolderItemsType()) !== false) {
709 709
     print_r($sync->getResult());
710 710
 } else {
711 711
     print_r($sync->getLastError());
712 712
 }
713 713
 /**
714
- * Samples for Send ServiceType
715
- */
714
+     * Samples for Send ServiceType
715
+     */
716 716
 $send = new \Ews\ServiceType\EwsSend($options);
717 717
 $send->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
718 718
 $send->setSoapHeaderMailboxCulture($MailboxCulture);
719 719
 $send->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
720 720
 /**
721
- * Sample call for SendItem operation/method
722
- */
721
+     * Sample call for SendItem operation/method
722
+     */
723 723
 if ($send->SendItem(new \Ews\StructType\EwsSendItemType()) !== false) {
724 724
     print_r($send->getResult());
725 725
 } else {
726 726
     print_r($send->getLastError());
727 727
 }
728 728
 /**
729
- * Samples for Archive ServiceType
730
- */
729
+     * Samples for Archive ServiceType
730
+     */
731 731
 $archive = new \Ews\ServiceType\EwsArchive($options);
732 732
 $archive->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
733 733
 $archive->setSoapHeaderMailboxCulture($MailboxCulture);
734 734
 $archive->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
735 735
 /**
736
- * Sample call for ArchiveItem operation/method
737
- */
736
+     * Sample call for ArchiveItem operation/method
737
+     */
738 738
 if ($archive->ArchiveItem(new \Ews\StructType\EwsArchiveItemType()) !== false) {
739 739
     print_r($archive->getResult());
740 740
 } else {
741 741
     print_r($archive->getLastError());
742 742
 }
743 743
 /**
744
- * Samples for Add ServiceType
745
- */
744
+     * Samples for Add ServiceType
745
+     */
746 746
 $add = new \Ews\ServiceType\EwsAdd($options);
747 747
 $add->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
748 748
 $add->setSoapHeaderMailboxCulture($MailboxCulture);
749 749
 $add->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
750 750
 /**
751
- * Sample call for AddDelegate operation/method
752
- */
751
+     * Sample call for AddDelegate operation/method
752
+     */
753 753
 if ($add->AddDelegate(new \Ews\StructType\EwsAddDelegateType()) !== false) {
754 754
     print_r($add->getResult());
755 755
 } else {
756 756
     print_r($add->getLastError());
757 757
 }
758 758
 /**
759
- * Sample call for AddNewImContactToGroup operation/method
760
- */
759
+     * Sample call for AddNewImContactToGroup operation/method
760
+     */
761 761
 if ($add->AddNewImContactToGroup(new \Ews\StructType\EwsAddNewImContactToGroupType()) !== false) {
762 762
     print_r($add->getResult());
763 763
 } else {
764 764
     print_r($add->getLastError());
765 765
 }
766 766
 /**
767
- * Sample call for AddNewTelUriContactToGroup operation/method
768
- */
767
+     * Sample call for AddNewTelUriContactToGroup operation/method
768
+     */
769 769
 if ($add->AddNewTelUriContactToGroup(new \Ews\StructType\EwsAddNewTelUriContactToGroupType()) !== false) {
770 770
     print_r($add->getResult());
771 771
 } else {
772 772
     print_r($add->getLastError());
773 773
 }
774 774
 /**
775
- * Sample call for AddImContactToGroup operation/method
776
- */
775
+     * Sample call for AddImContactToGroup operation/method
776
+     */
777 777
 if ($add->AddImContactToGroup(new \Ews\StructType\EwsAddImContactToGroupType()) !== false) {
778 778
     print_r($add->getResult());
779 779
 } else {
780 780
     print_r($add->getLastError());
781 781
 }
782 782
 /**
783
- * Sample call for AddImGroup operation/method
784
- */
783
+     * Sample call for AddImGroup operation/method
784
+     */
785 785
 if ($add->AddImGroup(new \Ews\StructType\EwsAddImGroupType()) !== false) {
786 786
     print_r($add->getResult());
787 787
 } else {
788 788
     print_r($add->getLastError());
789 789
 }
790 790
 /**
791
- * Sample call for AddDistributionGroupToImList operation/method
792
- */
791
+     * Sample call for AddDistributionGroupToImList operation/method
792
+     */
793 793
 if ($add->AddDistributionGroupToImList(new \Ews\StructType\EwsAddDistributionGroupToImListType()) !== false) {
794 794
     print_r($add->getResult());
795 795
 } else {
796 796
     print_r($add->getLastError());
797 797
 }
798 798
 /**
799
- * Samples for Remove ServiceType
800
- */
799
+     * Samples for Remove ServiceType
800
+     */
801 801
 $remove = new \Ews\ServiceType\EwsRemove($options);
802 802
 $remove->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
803 803
 $remove->setSoapHeaderMailboxCulture($MailboxCulture);
804 804
 $remove->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
805 805
 /**
806
- * Sample call for RemoveDelegate operation/method
807
- */
806
+     * Sample call for RemoveDelegate operation/method
807
+     */
808 808
 if ($remove->RemoveDelegate(new \Ews\StructType\EwsRemoveDelegateType()) !== false) {
809 809
     print_r($remove->getResult());
810 810
 } else {
811 811
     print_r($remove->getLastError());
812 812
 }
813 813
 /**
814
- * Sample call for RemoveImContactFromGroup operation/method
815
- */
814
+     * Sample call for RemoveImContactFromGroup operation/method
815
+     */
816 816
 if ($remove->RemoveImContactFromGroup(new \Ews\StructType\EwsRemoveImContactFromGroupType()) !== false) {
817 817
     print_r($remove->getResult());
818 818
 } else {
819 819
     print_r($remove->getLastError());
820 820
 }
821 821
 /**
822
- * Sample call for RemoveContactFromImList operation/method
823
- */
822
+     * Sample call for RemoveContactFromImList operation/method
823
+     */
824 824
 if ($remove->RemoveContactFromImList(new \Ews\StructType\EwsRemoveContactFromImListType()) !== false) {
825 825
     print_r($remove->getResult());
826 826
 } else {
827 827
     print_r($remove->getLastError());
828 828
 }
829 829
 /**
830
- * Sample call for RemoveDistributionGroupFromImList operation/method
831
- */
830
+     * Sample call for RemoveDistributionGroupFromImList operation/method
831
+     */
832 832
 if ($remove->RemoveDistributionGroupFromImList(new \Ews\StructType\EwsRemoveDistributionGroupFromImListType()) !== false) {
833 833
     print_r($remove->getResult());
834 834
 } else {
835 835
     print_r($remove->getLastError());
836 836
 }
837 837
 /**
838
- * Sample call for RemoveImGroup operation/method
839
- */
838
+     * Sample call for RemoveImGroup operation/method
839
+     */
840 840
 if ($remove->RemoveImGroup(new \Ews\StructType\EwsRemoveImGroupType()) !== false) {
841 841
     print_r($remove->getResult());
842 842
 } else {
843 843
     print_r($remove->getLastError());
844 844
 }
845 845
 /**
846
- * Samples for Set ServiceType
847
- */
846
+     * Samples for Set ServiceType
847
+     */
848 848
 $set = new \Ews\ServiceType\EwsSet($options);
849 849
 $set->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
850 850
 $set->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
851 851
 $set->setSoapHeaderManagementRole($ManagementRole);
852 852
 $set->setSoapHeaderMailboxCulture($MailboxCulture);
853 853
 /**
854
- * Sample call for SetUserOofSettings operation/method
855
- */
854
+     * Sample call for SetUserOofSettings operation/method
855
+     */
856 856
 if ($set->SetUserOofSettings(new \Ews\StructType\EwsSetUserOofSettingsRequest()) !== false) {
857 857
     print_r($set->getResult());
858 858
 } else {
859 859
     print_r($set->getLastError());
860 860
 }
861 861
 /**
862
- * Sample call for SetTeamMailbox operation/method
863
- */
862
+     * Sample call for SetTeamMailbox operation/method
863
+     */
864 864
 if ($set->SetTeamMailbox(new \Ews\StructType\EwsSetTeamMailboxRequestType()) !== false) {
865 865
     print_r($set->getResult());
866 866
 } else {
867 867
     print_r($set->getLastError());
868 868
 }
869 869
 /**
870
- * Sample call for SetHoldOnMailboxes operation/method
871
- */
870
+     * Sample call for SetHoldOnMailboxes operation/method
871
+     */
872 872
 if ($set->SetHoldOnMailboxes(new \Ews\StructType\EwsSetHoldOnMailboxesType()) !== false) {
873 873
     print_r($set->getResult());
874 874
 } else {
875 875
     print_r($set->getLastError());
876 876
 }
877 877
 /**
878
- * Sample call for SetImGroup operation/method
879
- */
878
+     * Sample call for SetImGroup operation/method
879
+     */
880 880
 if ($set->SetImGroup(new \Ews\StructType\EwsSetImGroupType()) !== false) {
881 881
     print_r($set->getResult());
882 882
 } else {
883 883
     print_r($set->getLastError());
884 884
 }
885 885
 /**
886
- * Sample call for SetImListMigrationCompleted operation/method
887
- */
886
+     * Sample call for SetImListMigrationCompleted operation/method
887
+     */
888 888
 if ($set->SetImListMigrationCompleted(new \Ews\StructType\EwsSetImListMigrationCompletedType()) !== false) {
889 889
     print_r($set->getResult());
890 890
 } else {
891 891
     print_r($set->getLastError());
892 892
 }
893 893
 /**
894
- * Sample call for SetUserPhoto operation/method
895
- */
894
+     * Sample call for SetUserPhoto operation/method
895
+     */
896 896
 if ($set->SetUserPhoto(new \Ews\StructType\EwsSetUserPhotoType()) !== false) {
897 897
     print_r($set->getResult());
898 898
 } else {
899 899
     print_r($set->getLastError());
900 900
 }
901 901
 /**
902
- * Samples for Play ServiceType
903
- */
902
+     * Samples for Play ServiceType
903
+     */
904 904
 $play = new \Ews\ServiceType\EwsPlay($options);
905 905
 $play->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
906 906
 $play->setSoapHeaderMailboxCulture($MailboxCulture);
907 907
 $play->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
908 908
 /**
909
- * Sample call for PlayOnPhone operation/method
910
- */
909
+     * Sample call for PlayOnPhone operation/method
910
+     */
911 911
 if ($play->PlayOnPhone(new \Ews\StructType\EwsPlayOnPhoneType()) !== false) {
912 912
     print_r($play->getResult());
913 913
 } else {
914 914
     print_r($play->getLastError());
915 915
 }
916 916
 /**
917
- * Samples for Disconnect ServiceType
918
- */
917
+     * Samples for Disconnect ServiceType
918
+     */
919 919
 $disconnect = new \Ews\ServiceType\EwsDisconnect($options);
920 920
 $disconnect->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
921 921
 $disconnect->setSoapHeaderMailboxCulture($MailboxCulture);
922 922
 $disconnect->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
923 923
 /**
924
- * Sample call for DisconnectPhoneCall operation/method
925
- */
924
+     * Sample call for DisconnectPhoneCall operation/method
925
+     */
926 926
 if ($disconnect->DisconnectPhoneCall(new \Ews\StructType\EwsDisconnectPhoneCallType()) !== false) {
927 927
     print_r($disconnect->getResult());
928 928
 } else {
929 929
     print_r($disconnect->getLastError());
930 930
 }
931 931
 /**
932
- * Samples for Refresh ServiceType
933
- */
932
+     * Samples for Refresh ServiceType
933
+     */
934 934
 $refresh = new \Ews\ServiceType\EwsRefresh($options);
935 935
 $refresh->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
936 936
 /**
937
- * Sample call for RefreshSharingFolder operation/method
938
- */
937
+     * Sample call for RefreshSharingFolder operation/method
938
+     */
939 939
 if ($refresh->RefreshSharingFolder(new \Ews\StructType\EwsRefreshSharingFolderType()) !== false) {
940 940
     print_r($refresh->getResult());
941 941
 } else {
942 942
     print_r($refresh->getLastError());
943 943
 }
944 944
 /**
945
- * Samples for Unpin ServiceType
946
- */
945
+     * Samples for Unpin ServiceType
946
+     */
947 947
 $unpin = new \Ews\ServiceType\EwsUnpin($options);
948 948
 $unpin->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
949 949
 /**
950
- * Sample call for UnpinTeamMailbox operation/method
951
- */
950
+     * Sample call for UnpinTeamMailbox operation/method
951
+     */
952 952
 if ($unpin->UnpinTeamMailbox(new \Ews\StructType\EwsUnpinTeamMailboxRequestType()) !== false) {
953 953
     print_r($unpin->getResult());
954 954
 } else {
955 955
     print_r($unpin->getLastError());
956 956
 }
957 957
 /**
958
- * Samples for Apply ServiceType
959
- */
958
+     * Samples for Apply ServiceType
959
+     */
960 960
 $apply = new \Ews\ServiceType\EwsApply($options);
961 961
 $apply->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
962 962
 $apply->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
963 963
 /**
964
- * Sample call for ApplyConversationAction operation/method
965
- */
964
+     * Sample call for ApplyConversationAction operation/method
965
+     */
966 966
 if ($apply->ApplyConversationAction(new \Ews\StructType\EwsApplyConversationActionType()) !== false) {
967 967
     print_r($apply->getResult());
968 968
 } else {
969 969
     print_r($apply->getLastError());
970 970
 }
971 971
 /**
972
- * Samples for Search ServiceType
973
- */
972
+     * Samples for Search ServiceType
973
+     */
974 974
 $search = new \Ews\ServiceType\EwsSearch($options);
975 975
 $search->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
976 976
 $search->setSoapHeaderManagementRole($ManagementRole);
977 977
 /**
978
- * Sample call for SearchMailboxes operation/method
979
- */
978
+     * Sample call for SearchMailboxes operation/method
979
+     */
980 980
 if ($search->SearchMailboxes(new \Ews\StructType\EwsSearchMailboxesType()) !== false) {
981 981
     print_r($search->getResult());
982 982
 } else {
983 983
     print_r($search->getLastError());
984 984
 }
985 985
 /**
986
- * Samples for Mark ServiceType
987
- */
986
+     * Samples for Mark ServiceType
987
+     */
988 988
 $mark = new \Ews\ServiceType\EwsMark($options);
989 989
 $mark->setSoapHeaderExchangeImpersonation($ExchangeImpersonation);
990 990
 $mark->setSoapHeaderMailboxCulture($MailboxCulture);
991 991
 $mark->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
992 992
 /**
993
- * Sample call for MarkAllItemsAsRead operation/method
994
- */
993
+     * Sample call for MarkAllItemsAsRead operation/method
994
+     */
995 995
 if ($mark->MarkAllItemsAsRead(new \Ews\StructType\EwsMarkAllItemsAsReadType()) !== false) {
996 996
     print_r($mark->getResult());
997 997
 } else {
998 998
     print_r($mark->getLastError());
999 999
 }
1000 1000
 /**
1001
- * Sample call for MarkAsJunk operation/method
1002
- */
1001
+     * Sample call for MarkAsJunk operation/method
1002
+     */
1003 1003
 if ($mark->MarkAsJunk(new \Ews\StructType\EwsMarkAsJunkType()) !== false) {
1004 1004
     print_r($mark->getResult());
1005 1005
 } else {
1006 1006
     print_r($mark->getLastError());
1007 1007
 }
1008 1008
 /**
1009
- * Samples for Disable ServiceType
1010
- */
1009
+     * Samples for Disable ServiceType
1010
+     */
1011 1011
 $disable = new \Ews\ServiceType\EwsDisable($options);
1012 1012
 $disable->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
1013 1013
 /**
1014
- * Sample call for DisableApp operation/method
1015
- */
1014
+     * Sample call for DisableApp operation/method
1015
+     */
1016 1016
 if ($disable->DisableApp(new \Ews\StructType\EwsDisableAppType()) !== false) {
1017 1017
     print_r($disable->getResult());
1018 1018
 } else {
1019 1019
     print_r($disable->getLastError());
1020 1020
 }
1021 1021
 /**
1022
- * Samples for Install ServiceType
1023
- */
1022
+     * Samples for Install ServiceType
1023
+     */
1024 1024
 $install = new \Ews\ServiceType\EwsInstall($options);
1025 1025
 $install->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
1026 1026
 /**
1027
- * Sample call for InstallApp operation/method
1028
- */
1027
+     * Sample call for InstallApp operation/method
1028
+     */
1029 1029
 if ($install->InstallApp(new \Ews\StructType\EwsInstallAppType()) !== false) {
1030 1030
     print_r($install->getResult());
1031 1031
 } else {
1032 1032
     print_r($install->getLastError());
1033 1033
 }
1034 1034
 /**
1035
- * Samples for Uninstall ServiceType
1036
- */
1035
+     * Samples for Uninstall ServiceType
1036
+     */
1037 1037
 $uninstall = new \Ews\ServiceType\EwsUninstall($options);
1038 1038
 $uninstall->setSoapHeaderRequestServerVersion(new \Ews\StructType\EwsRequestServerVersion());
1039 1039
 /**
1040
- * Sample call for UninstallApp operation/method
1041
- */
1040
+     * Sample call for UninstallApp operation/method
1041
+     */
1042 1042
 if ($uninstall->UninstallApp(new \Ews\StructType\EwsUninstallAppType()) !== false) {
1043 1043
     print_r($uninstall->getResult());
1044 1044
 } else {
Please login to merge, or discard this patch.
samples/GetServerTimeZones.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Composer autoload
4
- */
3
+     * Composer autoload
4
+     */
5 5
 require_once __DIR__ . '/../vendor/autoload.php';
6 6
 
7 7
 /**
Please login to merge, or discard this patch.