Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-09-2008, 09:46 AM
Junior Member
 
Join Date: Apr 2008
Posts: 1
Unhappy [Zend_Gdata_Calendar] Add a recurrenceException to an entry

Hello, I'm looking for a way to add a recurrence Exception.

For the moment I have tried this code
Code:
//Exception Entry
$ExcepEvent = $service->newEventEntry();
$ExcepEvent->content = $service->newContent("Contenu exceptionnel");
$event->recurrenceException =$service->newRecurrenceException(TRUE,$ExcepEvent);
$event->save();
When I'm saving, I have a Fatal Error
Code:
Fatal error: Call to a member function getDOM() on a non-object in ...\Zend\Gdata\Kind\EventEntry.php on line 136
(By the way, I have tried to catch the Exception, but I haven't suceeded
Code:
try {
    $event->save();
} catch (Zend_Exception $e) {
    echo "Error: " . $e->getResponse();
}
)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:36 PM.