IMP_Mime_Viewer_Itip
extends Horde_Mime_Viewer_Base
in package
Displays vCalendar/iCalendar data and provides an option to import the data into a calendar source, if available.
Tags
Table of Contents
Constants
- AUTO_UPDATE_EVENT_REPLY = 'auto_update_eventreply'
- AUTO_UPDATE_FB_PUBLISH = 'auto_update_fbpublish'
- AUTO_UPDATE_FB_REPLY = 'auto_update_fbreply'
- AUTO_UPDATE_TASK_REPLY = 'auto_update_taskreply'
Properties
- $_capability : array<string|int, mixed>
- This driver's display capabilities.
- $_metadata : array<string|int, mixed>
- Metadata for the current viewer/data.
Methods
- _autoUpdateReply() : bool
- Determine if we are going to auto-update the reply.
- _getViewOb() : Horde_View
- Get a Horde_View object.
- _parseAttendees() : mixed
- _partstatToString() : string
- Translate the Participation status to string.
- _render() : array<string|int, mixed>
- Return the full rendered version of the Horde_Mime_Part object.
- _renderInline() : array<string|int, mixed>
- Return the rendered inline version of the Horde_Mime_Part object.
- _vEvent() : mixed
- Generate the HTML for a vEvent.
- _vEventException() : mixed
- Generate the HTML for a vEvent.
- _vFreebusy() : mixed
- Generate the html for a vFreebusy.
- _vTodo() : mixed
- Generate the html for a vEvent.
Constants
AUTO_UPDATE_EVENT_REPLY
public
mixed
AUTO_UPDATE_EVENT_REPLY
= 'auto_update_eventreply'
AUTO_UPDATE_FB_PUBLISH
public
mixed
AUTO_UPDATE_FB_PUBLISH
= 'auto_update_fbpublish'
AUTO_UPDATE_FB_REPLY
public
mixed
AUTO_UPDATE_FB_REPLY
= 'auto_update_fbreply'
AUTO_UPDATE_TASK_REPLY
public
mixed
AUTO_UPDATE_TASK_REPLY
= 'auto_update_taskreply'
Properties
$_capability
This driver's display capabilities.
protected
array<string|int, mixed>
$_capability
= array('full' => \true, 'info' => \false, 'inline' => \true, 'raw' => \false)
$_metadata
Metadata for the current viewer/data.
protected
array<string|int, mixed>
$_metadata
= array('compressed' => \false, 'embedded' => \false, 'forceinline' => \true)
Methods
_autoUpdateReply()
Determine if we are going to auto-update the reply.
protected
_autoUpdateReply(string $type, string $sender) : bool
Parameters
- $type : string
-
The type of reply. Must match one of the 'auto_update_*' configuration keys in the iTip mime viewer configuration.
- $sender : string
-
The sender.
Return values
bool_getViewOb()
Get a Horde_View object.
protected
_getViewOb() : Horde_View
Return values
Horde_View —View object.
_parseAttendees()
protected
_parseAttendees(mixed $data, mixed $attendees) : mixed
Parameters
- $data : mixed
- $attendees : mixed
_partstatToString()
Translate the Participation status to string.
protected
_partstatToString(string $value[, string $default = null ]) : string
Parameters
- $value : string
-
The value of PARTSTAT.
- $default : string = null
-
The value to return as default.
Return values
string —The translated string.
_render()
Return the full rendered version of the Horde_Mime_Part object.
protected
_render() : array<string|int, mixed>
Return values
array<string|int, mixed> —See parent::render().
_renderInline()
Return the rendered inline version of the Horde_Mime_Part object.
protected
_renderInline() : array<string|int, mixed>
Return values
array<string|int, mixed> —See parent::render().
_vEvent()
Generate the HTML for a vEvent.
protected
_vEvent(mixed $vevent, mixed $id[, mixed $method = 'PUBLISH' ][, mixed $components = array() ]) : mixed
Parameters
- $vevent : mixed
- $id : mixed
- $method : mixed = 'PUBLISH'
- $components : mixed = array()
_vEventException()
Generate the HTML for a vEvent.
protected
_vEventException(mixed $vevent, mixed $id[, mixed $method = 'PUBLISH' ]) : mixed
Parameters
- $vevent : mixed
- $id : mixed
- $method : mixed = 'PUBLISH'
_vFreebusy()
Generate the html for a vFreebusy.
protected
_vFreebusy(mixed $vfb, mixed $id, mixed $method) : mixed
Parameters
- $vfb : mixed
- $id : mixed
- $method : mixed
_vTodo()
Generate the html for a vEvent.
protected
_vTodo(mixed $vtodo, mixed $id, mixed $method) : mixed
Parameters
- $vtodo : mixed
- $id : mixed
- $method : mixed