【问题标题】:Zend Gdata PHP API - How to set/get 'color' property for events [duplicate]Zend Gdata PHP API - 如何设置/获取事件的“颜色”属性[重复]
【发布时间】:2011-10-24 23:13:17
【问题描述】:

可能重复:
Google Calendar API - PHP - set event’s color

如何设置/获取 Google 日历中事件的“颜色”属性?

没有这方面的文档。

应该是简单的...

$event->color = "red";

就像你在更新文本时会做的那样......

$event->title = "hello";

但例外是说“没有这样的财产”。

这是针对 PHP API Zend Gdata 的。

【问题讨论】:

    标签: php zend-framework gdata-api gdata


    【解决方案1】:

    根据 API documentation,您似乎无法通过 Google 日历 GData API 设置单个事件的颜色,即使您可以在 Google 日历的 Web UI 上进行设置。

    【讨论】:

    • 感谢艾米的确认。
    • 你知道一种获取事件颜色的方法吗?
    • 仅供未来访问者参考,您已经可以使用 API V3 link 进行操作,但您需要忘记 zend gdata
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-01-15
    • 2013-12-09
    • 2010-10-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-15
    相关资源
    最近更新 更多