Horde_Itip_Response_Options_Horde
extends Horde_Itip_Response_Options_Base
in package
Handles iTip response options for Horde iTip responses.
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see LGPL.
Tags
Table of Contents
- $_charset : string
- The MIME character set.
- $_received_options : array<string|int, mixed>
- Options for setting the "Received" MIME header.
- __construct() : mixed
- Constructor.
- getCharacterSet() : string
- Get the character set for the response mime parts.
- getProductId() : string
- Get the product ID of the iCalendar object embedded in the MIME response.
- prepareIcalendar() : null
- Prepare the iCalendar part of the response object.
- prepareIcsMimePart() : null
- Prepare the iCalendar MIME part of the response message.
- prepareMessageMimePart() : null
- Prepare the message MIME part of the response.
- prepareResponseMimeHeaders() : null
- Prepare the iCalendar MIME part of the response message.
Properties
$_charset
The MIME character set.
private
string
$_charset
$_received_options
Options for setting the "Received" MIME header.
private
array<string|int, mixed>
$_received_options
Methods
__construct()
Constructor.
public
__construct(string $charset, array<string|int, mixed> $received_options) : mixed
Parameters
- $charset : string
-
The MIME character set that should be used.
- $received_options : array<string|int, mixed>
-
Options for setting the "Received" MIME header.
Return values
mixed —getCharacterSet()
Get the character set for the response mime parts.
public
getCharacterSet() : string
Return values
string —The character set.
getProductId()
Get the product ID of the iCalendar object embedded in the MIME response.
public
getProductId() : string
Return values
string —The product ID.
prepareIcalendar()
Prepare the iCalendar part of the response object.
public
prepareIcalendar(Horde_Icalendar $ical) : null
Parameters
- $ical : Horde_Icalendar
-
The iCalendar response object.
Return values
null —prepareIcsMimePart()
Prepare the iCalendar MIME part of the response message.
public
prepareIcsMimePart(Horde_Mime_Part $ics) : null
Parameters
- $ics : Horde_Mime_Part
-
The iCalendar MIME part of the response message.
Return values
null —prepareMessageMimePart()
Prepare the message MIME part of the response.
public
prepareMessageMimePart(Horde_Mime_Part $message) : null
Parameters
- $message : Horde_Mime_Part
-
The message MIME part of the response.
Return values
null —prepareResponseMimeHeaders()
Prepare the iCalendar MIME part of the response message.
public
prepareResponseMimeHeaders(Horde_Mime_Headers $headers) : null
Parameters
- $headers : Horde_Mime_Headers