Methods |
public
|
__construct(AbstractManager &$oManager)
|
#
|
public
|
init(string $sUserPublicId)
|
#
|
public
|
getBackend(): PDO
|
#
|
public
|
getPrincipalInfo(string $sUserPublicId): array
|
#
|
public
|
getCalendarAccess(string $sUserPublicId, $sCalendarId): int
|
#
|
public
|
parseCalendar(Calendar $oCalDAVCalendar): Calendar
|
#
|
public
|
getCalendar(string $sUserPublicId, string $sCalendarId): Calendar|bool
|
#
|
public
|
getPublicUser(): string
|
#
|
public
|
getPublicAccount(): User
|
#
|
public
|
getTenantUser($oUser = null): array|null
|
#
|
public
|
getPublicCalendarHash($sCalendarId)
|
#
|
public
|
getPublicCalendar($sCalendar)
|
#
|
public
|
getCalendars(string $sUserPublicId): array
}
|
#
|
public
|
getSharedCalendars($sUserPublicId)
|
#
|
public
|
GetCalendarNames(string $sUserPublicId): array
|
#
|
public
|
createCalendar(
string $sUserPublicId,
string $sName,
string $sDescription,
int $iOrder,
string $sColor,
$sUUID = null,
): string
|
#
|
public
|
createSubscribedCalendar($sUserPublicId, $sName, $sSource, $iOrder, $sColor, $sUUID = null)
|
#
|
public
|
updateCalendar(
string $sUserPublicId,
string $sCalendarId,
string $sName,
string $sDescription,
int $iOrder,
string $sColor,
): bool
|
#
|
public
|
updateSubscribedCalendar(
string $sUserPublicId,
string $sCalendarId,
string $sName,
$sSource,
int $iOrder,
string $sColor,
): bool
|
#
|
public
|
updateCalendarColor(string $sUserPublicId, string $sCalendarId, string $sColor): bool
|
#
|
public
|
updateCalendarVisible(string $sCalendarId, int $iVisible)
|
#
|
public
|
deletePrincipalCalendars($sUserPublicId)
|
#
|
public
|
deleteCalendar(string $sUserPublicId, string $sCalendarId): bool
|
#
|
public
|
clearAllCalendars(string $sUserPublicId)
|
#
|
public
|
unsubscribeCalendar(string $sUserPublicId, string $sCalendarId): bool
|
#
|
public
|
updateCalendarShares(string $sUserPublicId, string $sCalendarId, array $aShares): bool
|
#
|
public
|
updateCalendarShare(
string $sUserPublicId,
string $sCalendarId,
string $sUserId,
int $iPerms = Permission::RemovePermission,
): bool
|
#
|
public
|
deleteCalendarShares(string $sUserPublicId, string $sCalendarId): bool
|
#
|
public
|
publicCalendar(string $sCalendarId, bool $bIsPublic = false, $oUser = null): bool
Parameters
$bIsPublic |
Default value is false.
|
Overrides
|
#
|
public
|
getPublishStatus(string $sCalendarId): bool
|
#
|
public
|
getCalendarUsers(stirng $sUserPublicId, Calendar $oCalendar): array
|
#
|
public
|
exportCalendarToIcs(string $sUserPublicId, string $sCalendarId): string|bool
|
#
|
public
|
importToCalendarFromIcs(string $sUserPublicId, string $sCalendarId, string $sTempFileName): mixed
|
#
|
public
|
getCalendarHome()
|
#
|
public
|
getCalDAVCalendarObject(Calendar $oCalDAVCalendar, string $sEventId): CalendarObject
|
#
|
public
|
getEventsFromVCalendar(
string $sUserPublicId,
object $oCalendar,
$oVCal,
string $dStart = null,
string $dEnd = null,
$bExpand = true,
$sDefaultTimeZone = null,
): array
|
#
|
public
|
getExpandedEvent(string $sUserPublicId, string $sCalendarId, string $sEventId, string $dStart, string $dEnd): array
|
#
|
public
|
findEventInCalendars(string $sUserPublicId, string $sEventId, array $aCalendars): array
|
#
|
public
|
eventExists(string $sUserPublicId, string $sCalendarId, string $sEventId): bool
|
#
|
public
|
getEvent(int $sUserPublicId, string $sCalendarId, string $sEventId): array|bool
|
#
|
public
|
getFilterForTasks($aSubFilter)
|
#
|
public
|
getSerchFilterForTasks($sSearch)
|
#
|
public
|
getNotCompletedFilterForTasks()
|
#
|
public
|
getTasksUrls($oCalendar, $bShowCompleted = true, $sSearch = '')
|
#
|
public
|
getEventUrls(object $oCalendar, object $dStart, object $dEnd): array
|
#
|
public
|
getEventsInfo(
string $sUserPublicId,
string $sCalendarId,
string $dStart,
string $dEnd,
bool $bGetData = false,
): array|bool
|
#
|
public
|
getItemsByUrls($sUserPublicId, $oCalDAVCalendar, $aUrls, $dStart = null, $dEnd = null, $bExpand = false)
|
#
|
public
|
getVCalFromSubscription($oCalDAVCalendar)
|
#
|
public
|
getEvents(string $sUserPublicId, string $sCalendarId, string $dStart, string $dEnd, bool $bExpand = true): array|bool
|
#
|
public
|
getPublicItemsByUrls($oCalDAVCalendar, $aUrls, $dStart = null, $dEnd = null, $bExpand = false, $sDefaultTimeZone = null)
|
#
|
public
|
getPublicEvents(
string $sCalendarId,
string $dStart,
string $dEnd,
bool $bExpand = true,
$sDefaultTimeZone = null,
): array|bool
|
#
|
public
|
getTasks($sUserPublicId, $sCalendarId, $bCompeted, $sSearch, $dStart = null, $dEnd = null, $bExpand = true)
|
#
|
public
|
createEvent(string $sUserPublicId, string $sCalendarId, string $sEventId, VCalendar $oVCal): string|null
}
|
#
|
public
|
updateEventRaw(string $sUserPublicId, string $sCalendarId, string $sEventId, string $sData): bool
|
#
|
public
|
updateEvent(string $sUserPublicId, string $sCalendarId, string $sEventId, VCalendar $oVCal): bool
|
#
|
public
|
moveEvent(string $sUserPublicId, string $sCalendarId, string $sNewCalendarId, string $sEventId, string $sData): bool
|
#
|
public
|
deleteEvent(string $sUserPublicId, string $sCalendarId, string $sEventId): bool
|
#
|
public
|
deleteEventByUrl(string $sUserPublicId, string $sCalendarId, string $sEventUrl): bool
|
#
|
public
|
getReminders($start, $end)
|
#
|
public
|
AddReminder($sEmail, $sCalendarUri, $sEventId, $time = null, $starttime = null)
|
#
|
public
|
updateReminder($oCalendar, $sEventId, $sData)
|
#
|
public
|
deleteReminder($sEventId)
|
#
|
public
|
deleteReminderByCalendar($sCalendarUri)
|
#
|
public
|
deleteRemindersByUser($sUser)
|
#
|