Hello Dusty, Really thanks for your help.. I found the answer in another topic:
http://groups.google.com/group/google-calendar-help-dataapi/browse_frm/thread/29a2958adbb21e3e/4689a01e1cc351f1 Regards Igor On Oct 6, 12:29 pm, Dusty <[email protected]> wrote: > Here is an example of how I amusingit. I don't know if it is best > way of doing it but it works. > > ------------------------------------------------------------------------------------------ > > $who = $gdataCal->newWho(); > $who->email = $guest_email; > $who->rel = 'http://schemas.google.com/g/2005#event.attendee'; > $who->valueString = $guest_email; // I don't know if this is the name, > email address or what... but it is probably important. > $who->attendeeStatus = $gdataCal->newAttendeeStatus('http:// > schemas.google.com/g/2005#event.accepted'); > $event->who = array($who); > > ------------------------------------------------------------------------------------------ > > On Sep 23, 3:37 pm, igorhmm <[email protected]> wrote: > > > > > Hello everyone, > > > There are any way toadda guestusingthePHPAPI? Ican't found any > > example or documentation about that. > > > Here is my code: > > > ------------------------------------------------------------------------------------------ > > > $gdataCal = new Zend_Gdata_Calendar($client); > > $newEvent = $gdataCal->newEventEntry(); > > > $newEvent->title = $gdataCal->newTitle($title); > > $newEvent->where = array($gdataCal->newWhere($where)); > > $newEvent->content = $gdataCal->newContent("$desc"); > > > $when = $gdataCal->newWhen(); > > $when->startTime = "{$startDate}T{$startTime}:00.000{$tzOffset}:00"; > > $when->endTime = "{$endDate}T{$endTime}:00.000{$tzOffset}:00"; > > $newEvent->when = array($when); > > > $createdEvent = $gdataCal->insertEvent($newEvent); > > > ------------------------------------------------------------------------------------------ > > > Thanks for any help --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
