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
$username(string) The username to get calendars for
âŠī¸ 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
$username(string) The username
$calendarData(array) The calendar data
âŠī¸ 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
$username(string) The username
$calendarId(string) The calendar ID
âŠī¸ 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
$username(string) The username
$calendarId(string) The calendar ID
$calendarData(array) The calendar data to update
âŠī¸ 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
$username(string) The username
$calendarId(string) The calendar ID
âŠī¸ Returns
(array) Response with calendar details
đ§ shareCalendar
Share calendar with other users
function shareCalendar($username, $calendarId, array $shareData): array;
}