Methods |
public
static
|
getInstance(): Module
|
#
|
public
static
|
Decorator(): Module
|
#
|
public
|
getModuleSettings(): Settings
|
#
|
public
|
getManager(): Manager
|
#
|
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,
$ShowWeekNumbers,
)
|
#
|
public
|
GetCalendar(int $UserId, string $CalendarId): Calendar|false
Loads calendar.
|
#
|
public
|
GetPublicCalendar(string $CalendarId): array|false
|
#
|
public
|
GetCalendars(int $UserId): 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, string $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
|
GetEventsByUids(
int $UserId,
string $CalendarId,
array $EventUids,
int|null $Start = null,
int|null $End = null,
boolean $Expand = false,
): 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(int $UserId, string $CalendarId, string $EventId, array $Data): mixed
|
#
|
public
|
CreateTask(int $UserId, string $CalendarId, string $Subject): array|boolean
|
#
|
public
|
UpdateTask(
int $UserId,
string $CalendarId,
string $TaskId,
string $Subject,
string $Status,
bool $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|null $alarms,
string $attendees,
string|null $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, string $CalendarID): array
|
#
|
public
|
GetChangesForCalendar(int $UserId, string $CalendarId, string $SyncToken, int|null $Limit = null): array|bool
|
#
|
public
|
onGetBodyStructureParts($aParts, &$aResult)
|
#
|
public
|
onExtendMessageData($aData, &$oMessage)
|
#
|
public
|
onGetMobileSyncInfo($aArgs, &$mResult)
|
#
|
public
|
onBeforeDeleteUser($aArgs, &$mResult)
|
#
|
public
|
onAfterDeleteUser($aArgs, &$mResult)
|
#
|