Class IMP_MIME_Viewer_itip

Description

The IMP_MIME_Viewer_itip class displays vCalendar/iCalendar data and provides an option to import the data into a calendar source, if one is available.

$Horde: imp/lib/MIME/Viewer/itip.php,v 1.37.2.47 2009/05/14 10:12:26 jan Exp $

Copyright 2002-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

Located in /lib/MIME/Viewer/itip.php (line 18)

MIME_Viewer
   |
   --IMP_MIME_Viewer_itip
Variable Summary
 boolean $_forceinline
 string $_headers
 string $_method
 array $_msgs
Method Summary
 string getType ()
 string render ([array $params = array()])
 array _getMailDriver ()
 string _partstatToString (string $value, [string $default = null])
 void _vEvent ( $vevent,  $id)
 void _vFreebusy ( $vfb,  $id)
 void _vTodo ( $vtodo,  $id)
Variables
boolean $_forceinline = true (line 26)

Force viewing of a part inline, regardless of the Content-Disposition of the MIME Part.

string $_headers (line 47)

The headers of the message.

string $_method = 'PUBLISH' (line 40)

The method as marked in either the iCal structure or message header.

array $_msgs = array() (line 33)

The messages to output to the user.

Methods
getType (line 512)

Return text/html as the content-type.

  • return: "text/html" constant
string getType ()
render (line 56)

Render out the currently set iCalendar contents.

  • return: The rendered contents.
string render ([array $params = array()])
  • array $params: Any parameters the Viewer may need.
_getMailDriver (line 522)

Return mail driver/params necessary to send a message.

  • return: 'driver' => mail driver; 'params' => list of params.
array _getMailDriver ()
_partstatToString (line 1005)

Translate the Participation status to string.

  • return: The translated string.
string _partstatToString (string $value, [string $default = null])
  • string $value: The value of PARTSTAT.
  • string $default: The value to return as default.
_vEvent (line 656)

Return the html for a vEvent.

void _vEvent ( $vevent,  $id)
  • $vevent
  • $id
_vFreebusy (line 566)

Return the html for a vFreebusy.

void _vFreebusy ( $vfb,  $id)
  • $vfb
  • $id
_vTodo (line 872)

Returns the html for a vEvent.

  • todo: IMP 5: move organizerName() from Horde_iCalendar_vevent to Horde_iCalendar
void _vTodo ( $vtodo,  $id)
  • $vtodo
  • $id

Documentation generated on Sun, 30 Jan 2011 05:28:14 +0000 by phpDocumentor 1.4.3