Hiya,
thanks for reading my post, this is probably a quick answer for one of
you guys who've done it in the past but I cant find any documentation
about this.
im using PHP Zend framework.
I'm displaying all the available private calendars a user has in a
pulldown form so the user can switch between his calendars.
My problem is that I dont know how to tell the function that he must
use a diffrent calendar than the default one?
My code so far (basicly the normal function with some session
variables tagged in):
function outputCalendarByDateRange($client)
{
$gdataCal = new Zend_Gdata_Calendar($client);
$query = $gdataCal->newEventQuery();
$query->setUser('default');
$query->setVisibility('private');
$query->setProjection('full');
$query->setOrderby('starttime');
$query->setStartMin($_SESSION['agenda_startDate']);
$query->setStartMax($_SESSION['agenda_endDate']);
$query->location($_SESSION['agenda']);
$_SESSION['eventFeed'] = $gdataCal->getCalendarEventFeed($query);
}
I hope this is done by a easy line like:
$query->setCalendar('%name');
any help or pointers will be appreciated. Couldn't find a discussion
about this issue here, if I missed one I'm very sorry.
Thanks, Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---