Hey there,
I'm currently in the process of retrieving a list of the user's calendars. Going off the PHP examples in the developer's guide, I can call
$calendarList = $service->calendarList->listCalendarList();
just fine, but when I enter the while loop and call
foreach ($calendarList->getItems() as $calendarListEntry) {
my code throws a "Call to a member function getItems() on a non-object" error. I've noticed that $calendarList is of type Array, and I can call print_r on it just fine (and it appears to return the correct results). Does anyone know what's going on?
Also, along those lines, is there some sort of library documentation for PHP for v3.0? I'd like to know the methods needed to, say, get the calendar ID's, but I can't find this information anywhere.
Thanks!