Documentation

Horde_Core_ActiveSync_Connector
in package

Registry connector for Horde backend.

Provides the communication between the Horde Registry on the local machine and the ActiveSync Horde driver.

Tags
copyright

2010-2017 Horde LLC (http://www.horde.org/)

license

http://www.horde.org/licenses/lgpl21 LGPL

author

Michael J Rubinsky mrubinsk@horde.org

Table of Contents

Properties

$_capabilities  : array<string|int, mixed>
Cache results of capability queries
$_folderCache  : array<string|int, mixed>
Cache list of folders
$_gal  : string
Cache the GAL to avoid hitting the contacts API multiple times.
$_logger  : Horde_Log_Logger
The logger
$_registry  : Horde_Registry
Horde registry

Methods

__construct()  : Horde_ActiveSync_Driver_Horde_Connector_Registry
Const'r
calendar_delete()  : mixed
Delete an event from Horde's calendar storage
calendar_export()  : Horde_ActiveSync_Message_Appointment
Export the specified event as an ActiveSync message
calendar_getActionTimestamp()  : int
Return the timestamp for the last time $action was performed.
calendar_getAttachment()  : array<string|int, mixed>
Return an event attachment.
calendar_import()  : string
Import an event into the user's default calendar.
calendar_import16()  : array<string|int, mixed>
Version of calendar_import capable of returning an array of values.
calendar_import_attendee()  : mixed
Import an event response into a user's calendar. Used for updating attendee information from a meeting response.
calendar_import_vevent()  : string
Import a Horde_Icalendar_vEvent into a user's calendar. Used for creating events from meeting invitations.
calendar_listUids()  : array<string|int, mixed>
Get a list of events from horde's calendar api
calendar_move()  : string|bool
Move a calendar event.
calendar_replace()  : null|array<string|int, mixed>
Replace the event with new data
changeFolder()  : mixed
Change an existing folder on the server.
clearAuth()  : mixed
Clear the authentication and destroy the current session.
contacts_delete()  : bool
Delete the specified contact
contacts_export()  : Horde_ActiveSync_Message_Contact
Export the specified contact from Horde's contacts storage
contacts_getActionTimestamp()  : int
Get the timestamp of the most recent occurance of $action for the specifed contact
contacts_getGal()  : string|bool
Get the GAL source uid.
contacts_import()  : mixed
Import the provided contact data into Horde's contacts storage
contacts_listUids()  : array<string|int, mixed>
Get a list of all contacts a user can see
contacts_replace()  : mixed
Replace the specified contact with the data provided.
contacts_search()  : array<string|int, mixed>
Search the contacts store.
createFolder()  : string|int
Create a new folder/source in the specified collection.
deleteFolder()  : mixed
Delete a folder.
files_browse()  : array<string|int, mixed>
Browse VFS backend.
filters_getVacation()  : array<string|int, mixed>|bool
Return the currently set vacation message details.
filters_setVacation()  : mixed
Set vacation message properties.
getChanges()  : array<string|int, mixed>
Get all server changes for the specified collection
getFolders()  : array<string|int, mixed>|string
Return the list of folders to sync for the specified collection.
getHighestModSeq()  : int
Return the highest modification sequence value for the specified collection
getRecipientCache()  : array<string|int, mixed>
Returns the favouriteRecipients data for RI requests.
hasFeature()  : bool
Return if the backend collection has the requested feature.
horde_getPref()  : mixed
Obtain a user's preference setting.
horde_hasInterface()  : string
Obtain the name of the Horde application that provides the specified api interface.
horde_hasMethod()  : bool
Wrapper around Horde_Registry::hasMethod.
horde_listApis()  : array<string|int, mixed>
Return all active api interfaces.
mail_ensureMessageFlags()  : mixed
Add any user-defined flags to IMP's preferences.
mail_getMaillog()  : Horde_History_Log|false
Return a Maillog entry for the specified Message-ID.
mail_getMaillogChanges()  : array<string|int, mixed>
Poll the maillog for changes since the specified timestamp.
mail_logMaillog()  : mixed
Log a forward/reply action to the maillog.
mail_logRecipient()  : mixed
mdnSend()  : mixed
notes_delete()  : mixed
Delete a note from the backend.
notes_export()  : Horde_ActiveSync_Message_Note
Export a single note from the backend.
notes_getActionTimestamp()  : int
Return the timestamp for the last time $action was performed.
notes_import()  : string
Importa a single note into the backend.
notes_listNotepads()  : array<string|int, mixed>
List notepads.
notes_listUids()  : array<string|int, mixed>
List all notes in the user's default notepad.
notes_replace()  : mixed
Replace an existing task with the provided task.
resolveRecipient()  : array<string|int, mixed>
Resolve a recipient
setLogger()  : mixed
Set a logger for this object.
softDelete()  : array<string|int, mixed>
Return message UIDs that should be SOFTDELETEd from the client.
tasks_delete()  : mixed
Delete a task from the backend.
tasks_export()  : Horde_ActiveSync_Message_Task
Export a single task from the backend.
tasks_getActionTimestamp()  : int
Return the timestamp or modseq for the last time $action was performed.
tasks_import()  : string
Import a single task into the backend.
tasks_listUids()  : array<string|int, mixed>
List all tasks in the user's default tasklist.
tasks_replace()  : mixed
Replace an existing task with the provided task.
_ensureCalendar()  : array<string|int, mixed>
Return an array of calendar sources - either the user's configured "default" calendar (if $source is empty) or the calendar specified by $soruce.
_getAppFromCollectionId()  : string
Convert a collection id to a horde app name.
_getInterfaceFromCollectionId()  : string
Normalize the collection ids to interface names.

Properties

$_capabilities

Cache results of capability queries

protected array<string|int, mixed> $_capabilities = array()

$_folderCache

Cache list of folders

protected array<string|int, mixed> $_folderCache = array()

$_gal

Cache the GAL to avoid hitting the contacts API multiple times.

protected string $_gal

$_logger

The logger

protected Horde_Log_Logger $_logger

Methods

__construct()

Const'r

public __construct([array<string|int, mixed> $params = array() ]) : Horde_ActiveSync_Driver_Horde_Connector_Registry
Parameters
$params : array<string|int, mixed> = array()

Configuration parameters. Requires:

  • registry: An instance of Horde_Registry
Tags
throws
InvalidArgumentException
Return values
Horde_ActiveSync_Driver_Horde_Connector_Registry

calendar_delete()

Delete an event from Horde's calendar storage

public calendar_delete(string $uid[, string $calendar = null ][, string $instanceid = null ]) : mixed
Parameters
$uid : string

The UID of the event to delete

$calendar : string = null

The calendar id. @since 2.12.0 @deprecated (Not used).

$instanceid : string = null

The instanceid if this is a EAS 16.0 instance. @since 2.23.0

calendar_export()

Export the specified event as an ActiveSync message

public calendar_export(string $uid[, array<string|int, mixed> $options = array() ][, string $calendar = null ]) : Horde_ActiveSync_Message_Appointment
Parameters
$uid : string

The calendar id.

$options : array<string|int, mixed> = array()

Options to pass to the backend exporter.

  • protocolversion: (float) The EAS version to support DEFAULT: 2.5
  • bodyprefs: (array) A BODYPREFERENCE array. DEFAULT: none (No body prefs enforced).
  • truncation: (integer) Truncate event body to this length DEFAULT: none (No truncation).
$calendar : string = null

The calendar id. If null, uses multiplexed. @since 2.12.0

Return values
Horde_ActiveSync_Message_Appointment

The requested event.

calendar_getActionTimestamp()

Return the timestamp for the last time $action was performed.

public calendar_getActionTimestamp(string $uid, string $action[, string $calendar = null ]) : int
Parameters
$uid : string

The UID of the event we are interested in.

$action : string

The action we are interested in (add, modify...).

$calendar : string = null

The calendar id, if not using multiplexed data.

Return values
int

calendar_getAttachment()

Return an event attachment.

public calendar_getAttachment(string $filereference) : array<string|int, mixed>
Parameters
$filereference : string

A filereference pointing to the file: calendar:{calendar_id}:{event_uid}:{filename}

Return values
array<string|int, mixed>

An array containing: 'content-type' and 'data'.

calendar_import()

Import an event into the user's default calendar.

public calendar_import(Horde_ActiveSync_Message_Appointment $content[, string $calendar = null ]) : string
Parameters
$content : Horde_ActiveSync_Message_Appointment

The event content

$calendar : string = null

The calendar id. @since 2.12.0

Return values
string

The event's UID.

calendar_import16()

Version of calendar_import capable of returning an array of values.

public calendar_import16(Horde_ActiveSync_Message_Appointment $content[, string $calendar = null ]) : array<string|int, mixed>

Needed for EAS 16 support in order to deal with the fact that attachment actions are handled within the Message object.

Parameters
$content : Horde_ActiveSync_Message_Appointment

The event content

$calendar : string = null

The calendar id.

Tags
since
2.27.0
todo

Remove for H6 and make calendar_import return this structure.

Return values
array<string|int, mixed>

calendar_import_attendee()

Import an event response into a user's calendar. Used for updating attendee information from a meeting response.

public calendar_import_attendee(Horde_Icalendar_vEvent $vEvent, string $attendee) : mixed
Parameters
$vEvent : Horde_Icalendar_vEvent

The event data.

$attendee : string

The attendee.

calendar_import_vevent()

Import a Horde_Icalendar_vEvent into a user's calendar. Used for creating events from meeting invitations.

public calendar_import_vevent(Horde_Icalendar_vEvent $vEvent) : string
Parameters
$vEvent : Horde_Icalendar_vEvent

The event data.

Return values
string

The event's UID.

calendar_listUids()

Get a list of events from horde's calendar api

public calendar_listUids(int $startstamp, int $endstamp, string $calendar) : array<string|int, mixed>
Parameters
$startstamp : int

The start of time period.

$endstamp : int

The end of time period

$calendar : string

The calendar id. If null, uses multiplexed. @since 2.12.0

Return values
array<string|int, mixed>

calendar_move()

Move a calendar event.

public calendar_move(string $uid, string $source, string $target) : string|bool
Parameters
$uid : string

The event UID.

$source : string

The source calendar's id.

$target : string

The target calendar's id.

Tags
since
2.15.0
Return values
string|bool

The UID if successfully moved otherwise false.

calendar_replace()

Replace the event with new data

public calendar_replace(string $uid, Horde_ActiveSync_Message_Appointment $content[, string $calendar = null ]) : null|array<string|int, mixed>
Parameters
$uid : string

The UID of the event to replace.

$content : Horde_ActiveSync_Message_Appointment

The new event.

$calendar : string = null

The calendar id. @since 2.12.0

Return values
null|array<string|int, mixed>

May return an array of 'uid' and 'atchash' or null.

changeFolder()

Change an existing folder on the server.

public changeFolder(string $class, string $id, string $name) : mixed
Parameters
$class : string

The collection class. A Horde_ActiveSync::CLASS_* constant.

$id : string

The existing serverid.

$name : string

The new folder display name.

Tags
throws
Horde_ActiveSync_Exception
since
2.12.0

clearAuth()

Clear the authentication and destroy the current session.

public clearAuth() : mixed

contacts_delete()

Delete the specified contact

public contacts_delete(string|array<string|int, mixed> $uid) : bool
Parameters
$uid : string|array<string|int, mixed>

The UID(s) of the contact(s) to remove.

Return values
bool

contacts_export()

Export the specified contact from Horde's contacts storage

public contacts_export(string $uid[, array<string|int, mixed> $options = array() ]) : Horde_ActiveSync_Message_Contact
Parameters
$uid : string

The contact's UID

$options : array<string|int, mixed> = array()

Exporter options:

  • protocolversion: (float) The EAS version to support DEFAULT: 2.5
  • bodyprefs: (array) A BODYPREFERENCE array. DEFAULT: none (No body prefs enforced).
  • truncation: (integer) Truncate event body to this length DEFAULT: none (No truncation).
  • device: (Horde_ActiveSync_Device) The device object.
Return values
Horde_ActiveSync_Message_Contact

The contact object.

contacts_getActionTimestamp()

Get the timestamp of the most recent occurance of $action for the specifed contact

public contacts_getActionTimestamp(string $uid, string $action[, string $addressbook = null ]) : int
Parameters
$uid : string

The UID of the contact to search.

$action : string

The action to lookup.

$addressbook : string = null

The addressbook id, if not using multiplex.

Return values
int

contacts_getGal()

Get the GAL source uid.

public contacts_getGal() : string|bool
Return values
string|bool

The address book id of the GAL, or false if not available.

contacts_import()

Import the provided contact data into Horde's contacts storage

public contacts_import(Horde_ActiveSync_Message_Contact $content[, string $addressbook = null ]) : mixed
Parameters
$content : Horde_ActiveSync_Message_Contact

The contact data

$addressbook : string = null

The addessbook id. @since 2.12.0

Return values
mixed

string|boolean The new UID or false on failure.

contacts_listUids()

Get a list of all contacts a user can see

public contacts_listUids([string $source = null ]) : array<string|int, mixed>
Parameters
$source : string = null

The source to list. If null, use multiplex. @since 2.12.0

Return values
array<string|int, mixed>

An array of contact UIDs

contacts_replace()

Replace the specified contact with the data provided.

public contacts_replace(string $uid, string $content) : mixed
Parameters
$uid : string

The UID of the contact to replace

$content : string

The contact data

Search the contacts store.

public contacts_search(string $query[, array<string|int, mixed> $options = array() ]) : array<string|int, mixed>
Parameters
$query : string

The search string.

$options : array<string|int, mixed> = array()

Additional options:

  • pictures: (boolean) Include photos in results. DEFAULT: false (Do not include photos).
  • recipient_cache_search: (boolean) If true, this is a RI cache search, should only search the 'email' field and only return a small subset of fields.
Return values
array<string|int, mixed>

The search results.

createFolder()

Create a new folder/source in the specified collection.

public createFolder(string $class, string $foldername) : string|int
Parameters
$class : string

The collection class. A Horde_ActiveSync::CLASS_* constant.

$foldername : string

The name of the new folder.

Tags
throws
Horde_ActiveSync_Exception
since
2.12.0
Return values
string|int

The new folder serverid.

deleteFolder()

Delete a folder.

public deleteFolder(string $class, string $id) : mixed
Parameters
$class : string

The EAS collection class.

$id : string

The folder id

Tags
since
2.12.0

files_browse()

Browse VFS backend.

public files_browse(string $path) : array<string|int, mixed>
Parameters
$path : string

The path to browse/fetch. This should be in UNC format with the "server" portion specifying backend name. e.g., \file\mike\file.txt or \sql\mike\file.txt

Return values
array<string|int, mixed>

An array of data arrays with the following structure: linkid: (string) The UNC path for this resource. name: (string) The display name of the resource. content-length: (integer) The byte size of the resource (if a file). modified: (Horde_Date) The modification time of the resource, if available. create: (Horde_Date) The creation time of the resource, if available. is_folder: (boolean) True if the resource is a folder. data: (Horde_Stream) The data, if resource is a file. content-type: (string) The MIME type of the file resource, if available. @since 2.12.0

filters_getVacation()

Return the currently set vacation message details.

public filters_getVacation() : array<string|int, mixed>|bool
Return values
array<string|int, mixed>|bool

The vacation rule properties or false if interface unavailable.

filters_setVacation()

Set vacation message properties.

public filters_setVacation(array<string|int, mixed> $setting) : mixed
Parameters
$setting : array<string|int, mixed>

The vacation details.

Tags
throws
Horde_Exception

getChanges()

Get all server changes for the specified collection

public getChanges(string $collection, int $from_ts, int $to_ts, string $server_id) : array<string|int, mixed>
Parameters
$collection : string

The collection type (a Horde interface name - calendar, contacts, tasks)

$from_ts : int

Starting timestamp or modification sequence.

$to_ts : int

Ending timestamp or modification sequence.

$server_id : string

The server id of the collection. If null, uses multiplexed.

Tags
throws
InvalidArgumentException

Horde_Exception

Return values
array<string|int, mixed>

A hash of add, modify, and delete uids

getFolders()

Return the list of folders to sync for the specified collection.

public getFolders(string $collection, int $multiplex) : array<string|int, mixed>|string
Parameters
$collection : string

The collection class A Horde_ActiveSync::CLASS_* constant.

$multiplex : int

A bitmask flagging the collections that must be multiplexed, regardless of horde's settings

Tags
since
2.12.0
todo

H6 remove the hasMethod checks.

Return values
array<string|int, mixed>|string

A list of folder uids or $collection if supporting API is not found. If a list is returned, it is in the following format: 'uid' => array('display' => "Display Name", 'primary' => boolean)

getHighestModSeq()

Return the highest modification sequence value for the specified collection

public getHighestModSeq(mixed $collection[, mixed $id = null ]) : int
Parameters
$collection : mixed
$id : mixed = null
Tags
since
2.6.0
Return values
int

The modseq value.

getRecipientCache()

Returns the favouriteRecipients data for RI requests.

public getRecipientCache([int $max = 100 ]) : array<string|int, mixed>
Parameters
$max : int = 100

The maximum number of recipients to return.

Return values
array<string|int, mixed>

An array of email addresses.

hasFeature()

Return if the backend collection has the requested feature.

public hasFeature(string $feature, string $collection) : bool
Parameters
$feature : string

The requested feature.

$collection : string

The requested collection id.

Tags
since
2.6.0
Return values
bool

horde_getPref()

Obtain a user's preference setting.

public horde_getPref(string $app, string $pref) : mixed

(unused)

Parameters
$app : string

The Horde application providing the setting.

$pref : string

The name of the preference setting.

Return values
mixed

The preference value

horde_hasInterface()

Obtain the name of the Horde application that provides the specified api interface.

public horde_hasInterface(string $api) : string
Parameters
$api : string

The interface name

Return values
string

The application name.

horde_hasMethod()

Wrapper around Horde_Registry::hasMethod.

public horde_hasMethod(string $method, string $api) : bool
Parameters
$method : string

The method name.

$api : string

The API to check.

Return values
bool

horde_listApis()

Return all active api interfaces.

public horde_listApis() : array<string|int, mixed>
Return values
array<string|int, mixed>

An array of interface names.

mail_ensureMessageFlags()

Add any user-defined flags to IMP's preferences.

public mail_ensureMessageFlags(array<string|int, mixed> $flags) : mixed
Parameters
$flags : array<string|int, mixed>

An array of flags to add.

mail_getMaillog()

Return a Maillog entry for the specified Message-ID.

public mail_getMaillog(string $mid) : Horde_History_Log|false
Parameters
$mid : string

The Message-ID of the message.

Return values
Horde_History_Log|false

The history log or false if not found.

mail_getMaillogChanges()

Poll the maillog for changes since the specified timestamp.

public mail_getMaillogChanges(int $ts) : array<string|int, mixed>
Parameters
$ts : int

The timestamp to check since.

Return values
array<string|int, mixed>

An array of Message-IDs that have changed since $ts.

mail_logMaillog()

Log a forward/reply action to the maillog.

public mail_logMaillog(string $action, string $mid[, string $recipients = null ][, string $folder = null ]) : mixed
Parameters
$action : string

The action to log. One of: 'forward', 'reply', 'reply_all'.

$mid : string

The Message-ID to log.

$recipients : string = null

The recipients the mail was forwarded to.

$folder : string = null

The sent-mail folder. @since Horde_Core 2.27.0

mail_logRecipient()

public mail_logRecipient(mixed $action, mixed $recipients, mixed $message_id) : mixed
Parameters
$action : mixed
$recipients : mixed
$message_id : mixed

mdnSend()

public mdnSend(mixed $mdn) : mixed
Parameters
$mdn : mixed

notes_delete()

Delete a note from the backend.

public notes_delete(string $id) : mixed
Parameters
$id : string

The task's uid

Tags
since
5.1

notes_export()

Export a single note from the backend.

public notes_export(string $uid[, array<string|int, mixed> $options = array() ]) : Horde_ActiveSync_Message_Note
Parameters
$uid : string

The note uid

$options : array<string|int, mixed> = array()

Options to pass to the backend exporter.

Tags
since
5.1
Return values
Horde_ActiveSync_Message_Note

The note message object

notes_getActionTimestamp()

Return the timestamp for the last time $action was performed.

public notes_getActionTimestamp(string $uid, string $action[, string $notepad = null ]) : int
Parameters
$uid : string

The UID of the task we are interested in.

$action : string

The action we are interested in (add, modify...)

$notepad : string = null

The notepad to use, if not using multiplex.

Tags
since
5.1
Return values
int

notes_import()

Importa a single note into the backend.

public notes_import(Horde_ActiveSync_Message_Note $message[, string $notebook = null ]) : string
Parameters
$message : Horde_ActiveSync_Message_Note

The note message object

$notebook : string = null

The notebook id. @since 2.12.0

Tags
since
5.1
Return values
string

The newly added notes's uid.

notes_listNotepads()

List notepads.

public notes_listNotepads() : array<string|int, mixed>
  • @todo was never used, remove in H6.
Tags
since
5.1
Return values
array<string|int, mixed>

notes_listUids()

List all notes in the user's default notepad.

public notes_listUids([string $notepad = null ]) : array<string|int, mixed>
Parameters
$notepad : string = null

The notepad id to list. If null, use multiplexed. @since 2.12.0

Tags
since
5.1
Return values
array<string|int, mixed>

An array of note uids.

notes_replace()

Replace an existing task with the provided task.

public notes_replace(string $uid, Horde_ActiveSync_Message_Note $message) : mixed
Parameters
$uid : string

The existing tasks's uid

$message : Horde_ActiveSync_Message_Note

The task object

Tags
since
5.1

resolveRecipient()

Resolve a recipient

public resolveRecipient(string $query[, array<string|int, mixed> $opts = array() ]) : array<string|int, mixed>
Parameters
$query : string

The search string. Ususally an email address.

$opts : array<string|int, mixed> = array()

Any additional options:

  • maxcerts: (integer) The maximum number of certificates to return as provided by the client.
  • maxambiguous: (integer) The maximum number of ambiguous results. If set to zero, we MUST have an exact match.
  • starttime: (Horde_Date) The start time for the availability window if requesting AVAILABILITY.
  • endtime: (Horde_Date) The end of the availability window if requesting AVAILABILITY.
  • maxsize: (integer) The maximum size of any pictures. DEFAULT: 0 (No limit).
  • maxpictures: (integer) The maximum count of images to return. DEFAULT: - (No limit).
  • pictures: (boolean) Return pictures.
Return values
array<string|int, mixed>

The search results, keyed by the $query.

setLogger()

Set a logger for this object.

public setLogger(mixed $logger) : mixed
Parameters
$logger : mixed

softDelete()

Return message UIDs that should be SOFTDELETEd from the client.

public softDelete(string $collection, long $from_ts, long $to_ts[, string $source = null ]) : array<string|int, mixed>
Parameters
$collection : string

The collection type.

$from_ts : long

The start of the time period to search.

$to_ts : long

The end of the time period to search.

$source : string = null

Limit to this source only. @since 2.12.0

Return values
array<string|int, mixed>

An array of message UIDs that occur within the $from_ts and $to_ts range that are to be SOFTDELETEd from the client.

tasks_delete()

Delete a task from the backend.

public tasks_delete(string $id) : mixed
Parameters
$id : string

The task's uid

tasks_export()

Export a single task from the backend.

public tasks_export(string $uid[, array<string|int, mixed> $options = array() ]) : Horde_ActiveSync_Message_Task
Parameters
$uid : string

The task uid

$options : array<string|int, mixed> = array()

Options to pass to the backend exporter.

Return values
Horde_ActiveSync_Message_Task

The task message object

tasks_getActionTimestamp()

Return the timestamp or modseq for the last time $action was performed.

public tasks_getActionTimestamp(string $uid, string $action[, mixed $tasklist = null ]) : int
Parameters
$uid : string

The UID of the task we are interested in.

$action : string

The action we are interested in (add, modify...)

$tasklist : mixed = null
Return values
int

tasks_import()

Import a single task into the backend.

public tasks_import(Horde_ActiveSync_Message_Task $message[, string $tasklist = null ]) : string
Parameters
$message : Horde_ActiveSync_Message_Task

The task message object

$tasklist : string = null

The tasklist id. @since 2.12.0

Return values
string

The newly added task's uid.

tasks_listUids()

List all tasks in the user's default tasklist.

public tasks_listUids([string $tasklist = null ]) : array<string|int, mixed>
Parameters
$tasklist : string = null

The tasklist to check. If null, use multiplexed.

Return values
array<string|int, mixed>

An array of task uids.

tasks_replace()

Replace an existing task with the provided task.

public tasks_replace(string $uid, Horde_ActiveSync_Message_Task $message) : mixed
Parameters
$uid : string

The existing tasks's uid

$message : Horde_ActiveSync_Message_Task

The task object

_ensureCalendar()

Return an array of calendar sources - either the user's configured "default" calendar (if $source is empty) or the calendar specified by $soruce.

protected _ensureCalendar(string $source) : array<string|int, mixed>
Parameters
$source : string

The calendar id.

Return values
array<string|int, mixed>

An array containing the calendar id.

_getAppFromCollectionId()

Convert a collection id to a horde app name.

protected _getAppFromCollectionId(string $collection) : string
Parameters
$collection : string

The collection id e.g., @Notes@.

Return values
string

The horde application name e.g., nag.

_getInterfaceFromCollectionId()

Normalize the collection ids to interface names.

protected _getInterfaceFromCollectionId(string $collection) : string
Parameters
$collection : string

The collection id e.g., @Notes@

Return values
string

The Horde interface name e.g., notes


        
On this page

Search results