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