Skip to content

Version 3.0.1

Compare
Choose a tag to compare
@vgrem vgrem released this 21 Jan 20:43
· 31 commits to master since this release

Changelog

  • #300: add CcRecipients property to Message class by @DavidBrogli
  • #304: Http Response improvements by @lbuchs
  • #307 add example to obtain available fields of a list by @cweiske
  • #318 Support for custom curl options by @drml
  • ClientObjectCollection class enhancements, introduced getAll method by @vgrem

Example: read list items in a large list via getAll method:

$ctx = (new ClientContext($siteUrl))->withCredentials($credentials);
$list = $ctx->getWeb()->getLists()->getByTitle("--large list title--");

$allItems = $list->getItems()->getAll(5000, function ($returnType){
    print("{$returnType->getPageInfo()} items loaded...\n");
})->executeQuery();