开发者

Zend Gdata PHP API - How to set/get 'color' property for events [duplicate]

This question already has answers here: Closed 10 years ago.

Possible Duplicate:

Google Calendar API - PHP - set ev开发者_Go百科ent’s color

How do you set/get the 'color' property for events in Google Calendar?

There is no documentation for this.

It should be a case of simply...

$event->color = "red";

like you would do if you were updating the text...

$event->title = "hello";

but the exception is saying "no such property".

This is for the PHP API Zend Gdata.


It looks like you cannot set the color of a single event through the Google Calendar GData API, according to the API documentation, even if you can do it on Google Calendar's web UI.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜