是否可以对特定用户隐藏共享 Google 日历上的某些事件?
这是我想要的一个例子:
Calendar Shared with 2 other persons: Person A and Person B.
I add an Event named Event 1.
Me and Person A should see it but Person B should not.
I add an Event named Event 2.
Me and Person B should see it but Person A should not.
我在某处读到 Google 日历有 ACL,但是它们可以用于每个事件吗?
目前,我正在使用Zend_Gdata_Calendar
显示我的所有事件。
根据正确答案,我设法通过以下方式添加与会者Zend_Gdata_Calendar
:
$who[0] = $service->newWho();
$who[0]->setEmail("theemail@gmail.com");
$who[0]->setValueString("Person Name");
$stat = $service->newAttendeeStatus();
$stat->setValue('http://schemas.google.com/g/2005#event.accepted');
$who[0]->setAttendeeStatus($stat);
$event->setWho($who);