Methods |
public
static
|
getInstance(): Module
|
#
|
public
|
getManager()
|
#
|
public
|
getFilecacheManager()
|
#
|
public
|
init()
|
#
|
public
|
GetSettings(): array
Obtains list of module settings for authenticated user.
Obtains list of module settings for authenticated user.
Overrides
|
#
|
public
|
UpdateSettings(
$HighlightWorkingDays,
$HighlightWorkingHours,
$WorkdayStarts,
$WorkdayEnds,
$WeekStartsOn,
$DefaultTab,
$DefaultReminders,
)
|
#
|
public
|
GetCalendar(int $UserId, $CalendarId): Calendar|false
Loads calendar.
|
#
|
public
|
GetPublicCalendar(string $CalendarId): Calendar|false
|
#
|
public
|
GetCalendars(int $UserId, boolean $IsPublic = false, string $PublicCalendarId = ''): array|boolean
|
#
|
public
|
EntryCalendarDownload(): void
|
#
|
public
|
CreateCalendar(int $UserId, string $Name, string $Description, string $Color, $UUID = null): array|boolean
|
#
|
public
|
CreateSubscribedCalendar($UserId, $Name, $Source, $Color, $UUID = null)
|
#
|
public
|
UpdateCalendar(int $UserId, string $Id, string $Name, string $Description, string $Color): array|boolean
|
#
|
public
|
UpdateSubscribedCalendar(int $UserId, string $Id, string $Name, $Source, string $Color): array|boolean
|
#
|
public
|
UpdateCalendarColor(int $UserId, string $Id, string $Color): array|boolean
|
#
|
public
|
UpdateCalendarShare(
int $UserId,
string $Id,
boolean $IsPublic,
string $Shares,
boolean $ShareToAll = false,
int $ShareToAllAccess = Permission::Read,
): array|boolean
|
#
|
public
|
UpdateCalendarPublic(string $Id, boolean $IsPublic, int $UserId = null): array|boolean
|
#
|
public
|
DeleteCalendar(int $UserId, string $Id): array|boolean
|
#
|
public
|
GetBaseEvent(int $UserId, string $calendarId, string $uid): array|boolean
|
#
|
public
|
GetEvents(
int $UserId,
array $CalendarIds,
int $Start,
int $End,
boolean $IsPublic,
boolean $Expand = true,
$DefaultTimeZone = null,
): array|boolean
|
#
|
public
|
GetTasks(
int $UserId,
array $CalendarIds,
$Completed = true,
$Search = '',
int $Start = null,
int $End = null,
boolean $Expand = true,
): array|boolean
|
#
|
public
|
CreateEvent(
int $UserId,
string $newCalendarId,
string $subject,
string $description,
string $location,
int $startTS,
int $endTS,
boolean $allDay,
string $alarms,
string $attendees,
string $rrule,
int $selectStart,
int $selectEnd,
$type = 'VEVENT',
$status = false,
$withDate = true,
$owner = '',
$isPrivate = false,
): array|boolean
|
#
|
public
|
CreateEventFromData(type $UserId, type $CalendarId, type $EventId, type $Data): type
|
#
|
public
|
CreateTask(int $UserId, string $CalendarId, string $Subject): array|boolean
|
#
|
public
|
UpdateTask(int $UserId, string $CalendarId, $TaskId, string $Subject, $Status, $WithDate = false): array|boolean
|
#
|
public
|
UpdateEvent(
int $UserId,
string $newCalendarId,
string $calendarId,
string $uid,
string $subject,
string $description,
string $location,
int $startTS,
int $endTS,
boolean $allDay,
string $alarms,
string $attendees,
string $rrule,
int $allEvents,
string $recurrenceId,
int $selectStart,
int $selectEnd,
$type = 'VEVENT',
$status = false,
$withDate = true,
$isPrivate = false,
$owner = '',
): array|boolean
|
#
|
public
|
DeleteEvent(int $UserId, string $calendarId, string $uid, boolean $allEvents, string $recurrenceId): array|boolean
|
#
|
public
|
AddEventsFromFile(int $UserId, string $CalendarId, string $File): array|boolean
|
#
|
public
|
EntryCalendarPub()
|
#
|
public
|
ProcessICS(int $UserId, string $Data, string $FromEmail): boolean
|
#
|
public
|
UploadCalendar(int $UserId, array $UploadData, $CalendarID): array
|
#
|
public
|
onGetBodyStructureParts($aParts, &$aResult)
|
#
|
public
|
onExtendMessageData($aData, &$oMessage)
|
#
|
public
|
onGetMobileSyncInfo($aArgs, &$mResult)
|
#
|
public
|
onBeforeDeleteUser($aArgs, &$mResult)
|
#
|
public
|
onAfterDeleteUser($aArgs, &$mResult)
|
#
|