title: Zend Gdata PHP API - How to set/get 'color' property for events
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/11346277/google-calendar-api-php-set-events-color">Google Calendar API - PHP - set event’s color</a>  </p>
  </blockquote>
  
  
  
  <p>How do you set/get the 'color' property for events in Google Calendar?</p>
  
  <p>There is no documentation for this.</p>
  
  <p>It should be a case of simply...</p>
  
  <pre><code>$event-&gt;color = "red";
  </code></pre>
  
  <p>like you would do if you were updating the text...</p>
  
  <pre><code>$event-&gt;title = "hello";
  </code></pre>
  
  <p>but the exception is saying "no such property".</p>
  
  <p>This is for the PHP API Zend Gdata.</p>