PHP Class Horde_Compress_Tnef_Icalendar, horde

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_Compress_Tnef_Object
Mostrar archivo Open project: horde/horde

Public Properties

Property Type Description
$type string MIME type.

Protected Properties

Property Type Description
$_allday boolean
$_content string Cache of the iCalendar text.
$_created Horde_Date
$_description string The description/body of the meeting request.
$_duration string
$_endUtc Horde_Date
$_from string The "From" attribute used by iTip responses.
$_lastModifier string
$_location string
$_method string ICalendar METHOD
$_modified Horde_Date
$_organizer string
$_partStat The current PARTSTAT property for this meeting request.
$_recurrence array Recurrence data.
$_requiredAttendees string List of required attendees parsed from the MAPI object.
$_rsvp boolean RSVP property
$_startUtc Horde_Date
$_summary string
$_type integer
$_uid string
$_url string

Public Methods

Method Description
__get ( string $property ) : mixed Accessor
setMapiAttribute ( integer $type, integer $name, mixed $value, $ns = null ) Allow this object to set any MAPI attributes it needs to know about, ignore any it doesn't care about.
setMethod ( string $method, string $class = null ) Set the METHOD parameter, used to help generate the PART-STAT attribute.
setTnefAttribute ( integer $attribute, mixed $value, integer $size ) Allow this object to set any TNEF attributes it needs to know about, ignore any it doesn't care about.
toArray ( ) : array Output the data for this object in an array.

Protected Methods

Method Description
_parseRecurrence ( string $value ) : Horde_Date_Recurrence Parse recurrence properties.
_toItip ( ) : array Generate an iTip from embedded TNEF MEETING data.

Method Details

__get() public method

Accessor
public __get ( string $property ) : mixed
$property string
return mixed

_parseRecurrence() protected method

Parse recurrence properties.
protected _parseRecurrence ( string $value ) : Horde_Date_Recurrence
$value string MAPI stream
return Horde_Date_Recurrence

_toItip() protected method

Generate an iTip from embedded TNEF MEETING data.
protected _toItip ( ) : array
return array see @self::toArray().

setMapiAttribute() public method

Allow this object to set any MAPI attributes it needs to know about, ignore any it doesn't care about.
public setMapiAttribute ( integer $type, integer $name, mixed $value, $ns = null )
$type integer The attribute type descriptor.
$name integer The attribute name descriptor.
$value mixed The value to set.

setMethod() public method

Set the METHOD parameter, used to help generate the PART-STAT attribute.
public setMethod ( string $method, string $class = null )
$method string The METHOD parameter.
$class string The message class.

setTnefAttribute() public method

Allow this object to set any TNEF attributes it needs to know about, ignore any it doesn't care about.
public setTnefAttribute ( integer $attribute, mixed $value, integer $size )
$attribute integer The attribute descriptor.
$value mixed The value from the MAPI stream.
$size integer The byte length of the data, as reported by the MAPI data.

toArray() public method

Output the data for this object in an array.
public toArray ( ) : array
return array - type: (string) The MIME type of the content. - subtype: (string) The MIME subtype. - name: (string) The filename. - stream: (string) The file data.

Property Details

$_allday protected_oe property

protected bool $_allday
return boolean

$_content protected_oe property

Cache of the iCalendar text.
protected string $_content
return string

$_created protected_oe property

protected Horde_Date $_created
return Horde_Date

$_description protected_oe property

The description/body of the meeting request.
protected string $_description
return string

$_duration protected_oe property

protected string $_duration
return string

$_endUtc protected_oe property

protected Horde_Date $_endUtc
return Horde_Date

$_from protected_oe property

The "From" attribute used by iTip responses.
protected string $_from
return string

$_lastModifier protected_oe property

protected string $_lastModifier
return string

$_location protected_oe property

protected string $_location
return string

$_method protected_oe property

ICalendar METHOD
protected string $_method
return string

$_modified protected_oe property

protected Horde_Date $_modified
return Horde_Date

$_organizer protected_oe property

protected string $_organizer
return string

$_partStat protected_oe property

The current PARTSTAT property for this meeting request.
protected $_partStat

$_recurrence protected_oe property

Recurrence data.
protected array $_recurrence
return array

$_requiredAttendees protected_oe property

List of required attendees parsed from the MAPI object.
protected string $_requiredAttendees
return string

$_rsvp protected_oe property

RSVP property
protected bool $_rsvp
return boolean

$_startUtc protected_oe property

protected Horde_Date $_startUtc
return Horde_Date

$_summary protected_oe property

protected string $_summary
return string

$_type protected_oe property

protected int $_type
return integer

$_uid protected_oe property

protected string $_uid
return string

$_url protected_oe property

protected string $_url
return string

$type public_oe property

MIME type.
public string $type
return string