@@ -120,6 +120,9 @@ discard block |
||
| 120 | 120 | return $this->unIndexedFieldUris[$fieldName][$preference]; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | + /** |
|
| 124 | + * @param string $fieldName |
|
| 125 | + */ |
|
| 123 | 126 | public function getIndexedFieldUriByName($fieldName, $preference = 'item', $entryKey = false) |
| 124 | 127 | { |
| 125 | 128 | $fieldName = strtolower($fieldName); |
@@ -232,6 +235,10 @@ discard block |
||
| 232 | 235 | )); |
| 233 | 236 | } |
| 234 | 237 | |
| 238 | + /** |
|
| 239 | + * @param string $username |
|
| 240 | + * @param string $password |
|
| 241 | + */ |
|
| 235 | 242 | public static function withUsernameAndPassword($server, $username, $password, $options = []) |
| 236 | 243 | { |
| 237 | 244 | return new static(ExchangeWebServices::fromUsernameAndPassword( |
@@ -307,6 +314,9 @@ discard block |
||
| 307 | 314 | return $this->getClient()->UpdateItem($request)->getItems(); |
| 308 | 315 | } |
| 309 | 316 | |
| 317 | + /** |
|
| 318 | + * @param string $uriType |
|
| 319 | + */ |
|
| 310 | 320 | protected function getFieldURI($uriType, $key = null, $value = null) |
| 311 | 321 | { |
| 312 | 322 | if (strpos($key, ':') !== false) { |
@@ -491,7 +501,7 @@ discard block |
||
| 491 | 501 | |
| 492 | 502 | /** |
| 493 | 503 | * @param $identifier |
| 494 | - * @return Type\BaseFolderType |
|
| 504 | + * @return Type |
|
| 495 | 505 | */ |
| 496 | 506 | public function getFolder($identifier) |
| 497 | 507 | { |
@@ -511,7 +521,7 @@ discard block |
||
| 511 | 521 | * Get a folder by it's distinguishedId |
| 512 | 522 | * |
| 513 | 523 | * @param string $distinguishedId |
| 514 | - * @return Type\BaseFolderType |
|
| 524 | + * @return Type |
|
| 515 | 525 | */ |
| 516 | 526 | public function getFolderByDistinguishedId($distinguishedId) |
| 517 | 527 | { |
@@ -525,7 +535,7 @@ discard block |
||
| 525 | 535 | |
| 526 | 536 | /** |
| 527 | 537 | * @param $folderId |
| 528 | - * @return Type\BaseFolderType |
|
| 538 | + * @return Type |
|
| 529 | 539 | */ |
| 530 | 540 | public function getFolderByFolderId($folderId) |
| 531 | 541 | { |
@@ -610,7 +620,7 @@ discard block |
||
| 610 | 620 | * @param Type\FolderIdType $folderId |
| 611 | 621 | * @param null $syncState |
| 612 | 622 | * @param array $options |
| 613 | - * @return SyncFolderItemsResponseMessageType |
|
| 623 | + * @return Type |
|
| 614 | 624 | */ |
| 615 | 625 | public function listItemChanges($folderId, $syncState = null, $options = array()) |
| 616 | 626 | { |