CalDavCalendarManagerInterface

🔧 listCalendars

List all calendars for a user
function listCalendars($username): array; /** * Create a new calendar * @param string $username The username * @param array $calendarData The calendar data * @return array Response with success status and message */ public function createCalendar($username, array $calendarData): array; /** * Delete a calendar * @param string $username The username * @param string $calendarId The calendar ID * @return array Response with success status and message */ public function deleteCalendar($username, $calendarId): array; /** * Update calendar properties * @param string $username The username * @param string $calendarId The calendar ID * @param array $calendarData The calendar data to update * @return array Response with success status and message */ public function updateCalendar($username, $calendarId, array $calendarData): array; /** * Get calendar details * @param string $username The username * @param string $calendarId The calendar ID * @return array Response with calendar details */ public function getCalendar($username, $calendarId): array; /** * Share calendar with other users * @param string $username The username * @param string $calendarId The calendar ID * @param array $shareData The sharing options * @return array Response with success status and message */ public function shareCalendar($username, $calendarId, array $shareData): array; }

âš™ī¸ Parameters

â†Šī¸ Returns

(array) Array of calendar information

🔧 createCalendar

Create a new calendar
function createCalendar($username, array $calendarData): array; /** * Delete a calendar * @param string $username The username * @param string $calendarId The calendar ID * @return array Response with success status and message */ public function deleteCalendar($username, $calendarId): array; /** * Update calendar properties * @param string $username The username * @param string $calendarId The calendar ID * @param array $calendarData The calendar data to update * @return array Response with success status and message */ public function updateCalendar($username, $calendarId, array $calendarData): array; /** * Get calendar details * @param string $username The username * @param string $calendarId The calendar ID * @return array Response with calendar details */ public function getCalendar($username, $calendarId): array; /** * Share calendar with other users * @param string $username The username * @param string $calendarId The calendar ID * @param array $shareData The sharing options * @return array Response with success status and message */ public function shareCalendar($username, $calendarId, array $shareData): array; }

âš™ī¸ Parameters

â†Šī¸ Returns

(array) Response with success status and message

🔧 deleteCalendar

Delete a calendar
function deleteCalendar($username, $calendarId): array; /** * Update calendar properties * @param string $username The username * @param string $calendarId The calendar ID * @param array $calendarData The calendar data to update * @return array Response with success status and message */ public function updateCalendar($username, $calendarId, array $calendarData): array; /** * Get calendar details * @param string $username The username * @param string $calendarId The calendar ID * @return array Response with calendar details */ public function getCalendar($username, $calendarId): array; /** * Share calendar with other users * @param string $username The username * @param string $calendarId The calendar ID * @param array $shareData The sharing options * @return array Response with success status and message */ public function shareCalendar($username, $calendarId, array $shareData): array; }

âš™ī¸ Parameters

â†Šī¸ Returns

(array) Response with success status and message

🔧 updateCalendar

Update calendar properties
function updateCalendar($username, $calendarId, array $calendarData): array; /** * Get calendar details * @param string $username The username * @param string $calendarId The calendar ID * @return array Response with calendar details */ public function getCalendar($username, $calendarId): array; /** * Share calendar with other users * @param string $username The username * @param string $calendarId The calendar ID * @param array $shareData The sharing options * @return array Response with success status and message */ public function shareCalendar($username, $calendarId, array $shareData): array; }

âš™ī¸ Parameters

â†Šī¸ Returns

(array) Response with success status and message

🔧 getCalendar

Get calendar details
function getCalendar($username, $calendarId): array; /** * Share calendar with other users * @param string $username The username * @param string $calendarId The calendar ID * @param array $shareData The sharing options * @return array Response with success status and message */ public function shareCalendar($username, $calendarId, array $shareData): array; }

âš™ī¸ Parameters

â†Šī¸ Returns

(array) Response with calendar details

🔧 shareCalendar

Share calendar with other users
function shareCalendar($username, $calendarId, array $shareData): array; }

âš™ī¸ Parameters

â†Šī¸ Returns

(array) Response with success status and message