Methods |
public
|
getManager()
|
#
|
public
|
GetModuleManager()
|
#
|
public
|
init()
Initializes DAV Module.
|
#
|
public
|
onAfterGetCalendars(array &$aArgs, &$mResult)
Writes in $aParameters DAV server URL.
Writes in $aParameters DAV server URL.
|
#
|
public
|
onGetMobileSyncInfo($aArgs, array &$mResult)
Writes in $aData information about DAV server.
Writes in $aData information about DAV server.
|
#
|
public
|
onAfterCreateTables(array $aArgs, mixed &$mResult)
Creates tables required for module work. Called by event subscribe.
Creates tables required for module work. Called by event subscribe.
Parameters
|
#
|
public
|
EntryDav(): void
|
#
|
public
|
GetDavClient(): Client|false
Returns DAV client.
|
#
|
public
|
GetVCardObject(string|resource $Data): Document
Returns VCARD object.
|
#
|
public
|
GetSettings(): array
Obtains list of module settings for authenticated user.
Obtains list of module settings for authenticated user.
Overrides
|
#
|
public
|
UpdateSettings(string $ExternalHostNameOfDAVServer): bool
Updates module's settings - saves them to config.json file.
Updates module's settings - saves them to config.json file.
Parameters
$ExternalHostNameOfDAVServer |
External host name of DAV server.
|
|
#
|
public
|
GetServerUrl(): string
Returns DAV server URL.
|
#
|
public
|
GetServerHost(): string
Returns DAV server host.
|
#
|
public
|
GetServerPort(): int
Returns DAV server port.
|
#
|
public
|
GetPrincipalUrl(): string
Returns DAV principal URL.
Returns DAV principal URL.
|
#
|
public
|
IsSsl(): bool
Returns **true** if connection to DAV should use SSL.
Returns true if connection to DAV should use SSL.
|
#
|
public
|
GetLogin(): string
Returns DAV login.
|
#
|
public
|
IsMobileSyncEnabled(): bool
Returns **true** if mobile sync enabled.
Returns true if mobile sync enabled.
|
#
|
public
|
SetMobileSyncEnable(bool $MobileSyncEnable): bool
Sets mobile sync enabled/disabled.
Sets mobile sync enabled/disabled.
Parameters
$MobileSyncEnable |
Indicates if mobile sync should be enabled.
|
|
#
|
public
|
TestConnection(): bool
Tests connection and returns **true** if connection was successful.
Tests connection and returns true if connection was successful.
|
#
|
public
|
DeletePrincipal(): bool
Deletes principal.
|
#
|
public
|
GetPublicUser(): string
Returns public user.
|
#
|
public
|
Login($Login, $Password)
|
#
|