Issue Type: Bug Created: 2008-03-16T16:05:40.000+0000 Last Updated: 2011-05-08T06:59:09.000+0000 Status: Resolved Fix version(s): Reporter: Justin Plock (jplock) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Gdata
Related issues: - ZF-11101
When trying to set the hidden property of a calendar event
<pre class="highlight"> $event = $this->_gdata->newEventEntry(); $event->title = $this->_gdata->newTitle($title); $event->where = array($this->_gdata->newWhere($address)); $event->timezone = $this->_gdata->newTimezone($timezone); $event->visibility = $this->_gdata->newVisibility(true); $event->hidden = $this->_gdata->newHidden(false); $cal = $this->_gdata->insertEvent($event, '<a href="http://www.google.com/calendar/feeds/default/owncalendars/full">http://google.com/calendar/feeds/…</a>');
I get a "Property _hidden does not exist" error message because there is no _hidden property defined in Zend_Gdata_Calendar_EventEntry or Zend_Gdata_Kind_EventEntry. Can we add the following to either one of those classes?
<pre class="highlight"> protected $_hidden = null;
Posted by Ralph Schindler (ralph) on 2011-02-17T14:55:33.000+0000
Is this still an issue? Is there a suggested fix?
Posted by Justin Plock (jplock) on 2011-02-17T16:26:49.000+0000
Wow, I don't even remember submitting this issue, especially considering I haven't played around with Zend_Gdata yet. I'm not sure if it's still an issue or not. I'd think this would have been caught awhile ago if it was still an issue though.
Posted by Kim Blomqvist (kblomqvist) on 2011-02-20T00:52:47.000+0000
This is not implemented in Zend_Gdata. However, as far as I understand Google Calendar API, the Hidden attribute does not have anything to do with the calendar +events+. There is only gCal:hidden element, which indicates whether a +calendar+ is visible or not. This is more like a documentation issue, where ZF's Reference Guide is misleadingly telling that Hidden (which is not even provided) removes the +event+ from the Google Calendar UI.
To implement a delete feature for calendar events, Zend_Gdata_Kind_EventEntry should have $_deleted property which maps to gd:Deleted.
Posted by Adam Lundrigan (adamlundrigan) on 2011-05-07T17:31:35.000+0000
This was resolved in ZF-11101
Posted by Kim Blomqvist (kblomqvist) on 2011-05-07T18:28:48.000+0000
I guess this was left open if someone would like to implement that $_delete property ...
bq. To implement a delete feature for calendar events, Zend_Gdata_Kind_EventEntry should have $_deleted property which maps to gd:Deleted.
Posted by Adam Lundrigan (adamlundrigan) on 2011-05-07T22:12:46.000+0000
According to the docs for EventKind (http://code.google.com/apis/gdata/…) it doesn't explicitly have gd:Deleted. Do you know if it actually does (ie: inherited from parent namespace or something?)
Posted by Kim Blomqvist (kblomqvist) on 2011-05-08T06:59:09.000+0000
Ah, that's true. But it is used by the kinds. http://code.google.com/intl/fi-FI/…
Have you found an issue?
See the Overview section for more details.