return CALDAV_NAMESPACE_PRIVATE;
}
+ /**
+ * @static
+ * @return string
+ */
+ public static function getBackendTypeName() {
+ return t("Friendica-Native events");
+ }
/**
* @static
"is_allday" => ($allday ? 1 : 0),
"is_moredays" => (substr($start, 0, 10) != substr($finish, 0, 10)),
"is_recurring" => ($row["type"] == "birthday"),
- "color" => "#f8f8ff",
+ "color" => "7878ff",
"is_editable" => 0,
"is_editable_quick" => 0,
"location" => $row["location"],
"uri" => $cal["uri"],
"principaluri" => $principalUri,
'{' . Sabre_CalDAV_Plugin::NS_CALENDARSERVER . '}getctag' => $cal['ctag'] ? $cal['ctag'] : '0',
+ '{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}supported-calendar-component-set' => new Sabre_CalDAV_Property_SupportedCalendarComponentSet(array("VEVENT")),
"calendar_class" => "Sabre_CalDAV_Calendar_Virtual",
);
foreach ($this->propertyMap as $key=> $field) $dat[$key] = $cal[$field];