Hi Ben,

Thanks! I took a quick look and didn't notice this method.  I figured
out the cause for your problem, setValue() is expected a string to be
the input, try this code it should solve your problem -

    $notification = $gc->newSendEventNotifications();
    $notification->setValue('true');
    $newEntry->sendEventNotifications = $notification;

Hope that helps,
Austin

On Nov 13, 12:11 am, Ben <[EMAIL PROTECTED]> wrote:
> Thanks Austin,
>
> I found setSendEventNotifications in Zend_Gdata_Calendar_EventEntry
> but it seem to not work.
>
> But I finally use the following code to solve my problem
>
>   $SendEventNotifications = $gc->newSendEventNotifications();
>   $SendEventNotifications->setValue(true);
>   $newEntry->SendEventNotifications = $SendEventNotifications;
>
> :)
>
> On 11月13日, 下午3時33分, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Ben,
>
> > Thanks for the catch.  I don't think setSendEventNotifications() is
> > actually implemented in the client library from Zend.  You may file a
> > bug request for this here -
>
> >http://framework.zend.com/issues/secure/IssueNavigator.jspa?reset=tru...
>
> > Thanks,
> > Austin
>
> > On Nov 12, 12:41 am, Ben <[EMAIL PROTECTED]> wrote:
>
> > > Dear all,
>
> > > I am using Zend Gdata API to create event and send an invitation to
> > > the attendee.
>
> > > I am trying the following code but it fails
>
> > > $gc = new Zend_Gdata_Calendar($client);
> > > $newEntry = $gc->newEventEntry();
>
> > > $who = $gc->newWho();
> > > $who->Email = "[EMAIL PROTECTED]";
> > > $newEntry->who = array($who);
> > > $newEntry->setSendEventNotifications('true');
>
> > > Anybody kindly tell me why and how to do it.
>
> > > Thanks and Regards,- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to