Methods | ||
---|---|---|
public
|
__construct(string $baseUrl, string $user, string $pass)
|
# |
public
|
Connect(): bool
|
# |
public
|
testConnection(): bool
|
# |
public
|
GetBaseUrl(): string
|
# |
public
|
GetRootUrl($url): string
|
# |
public
|
GetUser(): string
|
# |
public
|
GetServer(): string
|
# |
public
|
GetServerUrl(): string
|
# |
public
|
CreateItem(string $sUrl, string $sData): string
|
# |
public
|
UpdateItem(string $sUrl, string $sData, $sEtag = '*'): string
|
# |
public
|
MoveItem(string $url, $newUrl): string
|
# |
public
|
createCalendar(
string $sSystemName,
string $sDisplayName,
string $sDescription,
int $iOrder,
string $sColor,
string $sCalendarHome,
): string
|
# |
public
|
updateCalendar(string $sCalendarId, string $sDisplayName, string $sDescription, int $iOrder, string $sColor): array
|
# |
public
|
updateCalendarColor(string $sCalendarId, string $sColor): array
|
# |
public
|
DeleteItem(string $url)
|
# |
public
|
QueryCal(string $filter, string $url = ''): array
|
# |
public
|
QueryCardsInfo(string $filter, string $url = ''): array
|
# |
public
|
QueryCards($calendar_url, $urls = []): array
|
# |
public
|
GetVcardsInfo($url = '', $sSearch = '', $sGroupId = '')
|
# |
public
|
GetVcards($url, $urls = [])
|
# |
public
|
GetTimeRange(timestamp $start = null, timestamp $end = null): string
|
# |
public
|
getEvents(string $url = '', timestamp $start = null, timestamp $finish = null): array
|
# |
public
|
GetEventByUid(string $sCalendarUrl, string $sUid): array
|
# |
public
|
GetItem(string $url = ''): string
|
# |
public
|
GetAlarms(string $url = '', timestamp $start = null, timestamp $finish = null): array
|
# |
public
|
GetTodos(
timestamp $start,
timestamp $finish,
boolean $completed = false,
boolean $cancelled = false,
string $url = '',
): array
|
# |
public
|
getCalendar($url = ''): array
|
# |
public
|
GetCurrentPrincipal()
|
# |
public
|
GetPrincipalMembers(string $principal = '')
|
# |
public
|
GetCalendarHomeSet($principalUrl = '')
|
# |
public
|
GetAddressBookHomeSet($principalUrl = '')
|
# |
public
|
GetAddressBooks($url = '')
|
# |
public
|
getCalendars($url = '')
|
# |
public
|
GetVcardByUid($uid, $url = '')
|
# |
public
|
GetProxies($sProxy)
|
# |
public
|
AddProxy($proxy, $to)
|
# |
public
|
DeleteProxy($proxy, $to)
|
# |
public
|
GetCalendarProxiedFor($principalUrl): array
|
# |
Constants | ||
---|---|---|
public
|
PROP_RESOURCETYPE = '{DAV:}resourcetype'
|
# |
public
|
PROP_DISPLAYNAME = '{DAV:}displayname'
|
# |
public
|
PROP_CALENDAR_DESCRIPTION = '{urn:ietf:params:xml:ns:caldav}calendar-description'
|
# |
public
|
PROP_CALENDAR_ORDER = '{http://apple.com/ns/ical/}calendar-order'
|
# |
public
|
PROP_CALENDAR_COLOR = '{http://apple.com/ns/ical/}calendar-color'
|
# |
public
|
PROP_CALENDAR_DATA = '{urn:ietf:params:xml:ns:caldav}calendar-data'
|
# |
public
|
PROP_ADDRESSBOOK_DATA = '{urn:ietf:params:xml:ns:carddav}address-data'
|
# |
public
|
PROP_OWNER = '{DAV:}owner'
|
# |
public
|
PROP_CTAG = '{http://calendarserver.org/ns/}getctag'
|
# |
public
|
PROP_ETAG = '{DAV:}getetag'
|
# |
public
|
PROP_CURRENT_USER_PRINCIPAL = '{DAV:}current-user-principal'
|
# |
public
|
PROP_CALENDAR_HOME_SET = '{urn:ietf:params:xml:ns:caldav}calendar-home-set'
|
# |
public
|
PROP_CALENDAR_INVITE = '{' . Plugin::NS_CALENDARSERVER . '}invite'
|
# |
public
|
PROP_ADDRESSBOOK_HOME_SET = '{urn:ietf:params:xml:ns:carddav}addressbook-home-set'
|
# |
public
|
PROP_GROUP_MEMBERSHIP = '{DAV:}group-membership'
|
# |
public
|
PROP_GROUP_MEMBER_SET = '{DAV:}group-member-set'
|
# |
Properties | |||
---|---|---|---|
public
|
string
|
$baseUrl
|
# |
public
|
bool
|
$isCustomServer = false
|
# |
public
|
Client
|
$client
|
# |