public static getCSSColors ( array | Horde_Share_Object $calendar, boolean $with_attribute = true ) : string | ||
$calendar | array | Horde_Share_Object | A calendar share or a hash from a remote calender definition. |
$with_attribute | boolean | Whether to wrap the colors inside a "style" attribute. |
return | string | A CSS string with color definitions. |