$storage
$storage : \Horde_Data_Storage
Storage object.
Implement the Horde_Data:: API for vNote data.
Provides a number of utility methods that vCard and iCalendar implementation can share and rely on.
$storage : \Horde_Data_Storage
Storage object.
exportData(array $data, string $method = 'REQUEST') : string
Exports vcalendar data as a string. Unlike vEvent, vNote data is not enclosed in BEGIN|END:vCalendar.
array | $data | An array containing Horde_Icalendar_Vnote objects. |
string | $method | The iTip method to use. |
The iCalendar data.
nextStep(integer $action, array $param = array()) : mixed
Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step.
integer | $action | The current step. One of the IMPORT_* constants. |
array | $param | An associative array containing needed parameters for the current step. |
Either the next step as an integer constant or imported data set after the final step.
__construct(\Horde_Data_Storage $storage, array $params = array())
Constructor.
\Horde_Data_Storage | $storage | |
array | $params | Optional parameters:
|
_mapDate(string $date, string $type, array $params, integer $key) : string
Maps a date/time string to an associative array.
string | $date | The date. |
string | $type | One of 'date', 'time' or 'datetime'. |
array | $params | Two-dimensional array with additional information about the formatting. Possible keys are:
|
integer | $key | The key to use for $params. |
The date or time in ISO format.