did you get this to work? I'm having similar problem..
On Feb 3, 2008 7:31 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> You should add to your code this:
>
> ---
> function getEvent($client, $eventId)
> {
> $gdataCal = new Zend_Gdata_Calendar($client);
> $query = $gdataCal->newEventQuery();
> $query->setUser('default');
> $query->setVisibility('private');
> $query->setProjection('full');
> $query->setEvent($eventId);
>
> try {
> $eventEntry = $gdataCal->getCalendarEventEntry($query);
> return $eventEntry;
> } catch (Zend_Gdata_App_Exception $e) {
> var_dump($e);
> return null;
> }
> }
> ---
>
> Best,
> Ido
>
> ---
> http://mybuywatcher.com
>
>
> On Jan 30, 1:04 pm, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I am trying todeleteaneventbased on its Uri.
> > I have extracted the Uri of theevent(after the complete location is
> > returned from inserting theeventin the calender), and want to use
> > this Uri todeletethatevent.
> >
> > I found two methods and tried both of them, but I can't get either of
> > them to work...
> >
> > The ways I found to do this are:
> >
> > ** method 1:
> > $gdataCal = new Zend_Gdata_Calendat($client);
> > $gdataCal->delete($eventID)
> >
> > returned error is:
> > Fatal error: Uncaught exception 'Zend_Uri_Exception' with message
> > 'Scheme "eagt0hu7qhonpmf91d5250n67g" is not supported' in C:
> > \Installatiefiles\xampp\htdocs\scouts\lokaal2\Zend\Uri.php:119 ...
> >
> > ** method 2:
> > if( $event= getEvent($client, $eventID){
> > $event->delete();
> >
> > }
> >
> > returned error is:
> > Fatal error: Call to undefined function getevent()
> >
> > What am I doing wrong?
> >
> > Is there some more example code for PHP available somewhere?
> >
> > Best regards,
> > Pieter
> >
>
--
Tervitades,
Hannes
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---