Hi Cedric,

My apology there is a typo in the PHP client library documentation

http://code.google.com/apis/calendar/developers_guide_php.html#Reminders

The attribute to be set should be 'reminders' instead of 'reminder'.
It should look like this

$when->reminders = array($reminder);

Hope this helps!

Austin

On Oct 2, 9:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> When I try to set a reminder for an appointment using the PHP function
> described 
> here:http://code.google.com/apis/calendar/developers_guide_php.html#Reminders
>
> I get this error:
>
> Fatal error: Uncaught exception
> 'Zend_Gdata_App_InvalidArgumentException' with message 'Property
> _reminder does not exist' in /home/wwwcedr/public_html/gdata/engine/
> Zend/Gdata/App/Base.php:344 Stack trace: #0 /home/wwwcedr/public_html/
> gdata/engine/Zend/Gdata/App/Base.php(324): 
> Zend_Gdata_App_Base->__isset('_reminder') #1 /home/wwwcedr/public_html/gdata/
>
> index.php(34): Zend_Gdata_App_Base->__set('reminder', Array) #2 /home/
> wwwcedr/public_html/gdata/index.php(72):
> createEvent(Object(Zend_Http_Client)) #3 {main} thrown in /home/
> wwwcedr/public_html/gdata/engine/Zend/Gdata/App/Base.php on line 344
>
> Is there some problem with the class or am I doing something horribly
> wrong?


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