php - Zend Gdata - setVisibility for newEventEntry? (specify events for multiple calendars) -


I know that you specify setVisibility ('private-abcdefg') for newEventQuery () to specify a specific calendar Can be used.

My question is, can I use the same concept for the new Avent Entry ()?

$ gdataCal = New Zend_Gdata_Calendar ($ client);

  $ NewEvent = $ gdataCal- & gt; NewEventEntry (); $ NewEvent-> SetVisibility ('Private - *****************');  

I tried to get this code, but I got an error:

  Fatal error: a non-object member function getDOM () Call to /home/content/b/e/h/behrk2/html/ZendGdata-1.8.4PL1/library/Zend/Gdata/Kind/EventEntry.php on line 154  

What Anything can do to accomplish this? Because I have more than one Google Calendar, and I want to specify which calendar should go to the event ...

Thank you!

You are ending it I had the same exact problem, and it is simple, but not clear , And took notice to dig me through the notice. To post to a calendar other than the default calendar, simply insert the event at the end of the event, add Yuri to another calendar, such as:

  $ createdEvent = $ gdataCal- & gt; InsertEvent ($ NewEvent, $ uri);  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -