PHP Class Horde_Compress_Tnef_VTodo, 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
显示文件 Open project: horde/horde

Public Properties

Property Type Description
$type string The MIME type of this object's content.

Protected Properties

Property Type Description
$_bodyHtml string HTML body.
$_bodyPlain string Plain body
$_completed integer Timestamp when task was completed.
$_due integer. Due date (timestamp).
$_guid string UID
$_lastUser string Last user to modify the request.
$_messageClass string The MAPI_MESSAGE_CLASS
$_method string The METHOD to use in the generated vTodo component. Default to REQUEST since TNEF files are generally not used for PUBLISH.
$_msgformat integer
$_owner string The current owner of the task. Note, this is the CURRENT owner, so for the initial REQUEST, this will be empty. MS doesn't consider the task creator the owner in this context.
$_ownership integer The MAPI_TASK_OWNERSHIP value.
$_percentComplete integer Percentage of task that is completed.
$_rtfCompressed string Compressed RTF body.
$_start integer Start time of task.
$_state integer. The MAPI_TASK_STATE value. Used to help determine METHOD.
$_status string Status of task.
$_updates boolean If true, assignee is requested to send updates.

Public Methods

Method Description
__get ( $property )
setMapiAttribute ( integer $type, integer $name, $value, $ns = null ) Allow this object to set any MAPI attributes it needs to know about, ignore any it doesn't care about.
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
_tovTodo ( )

Method Details

__get() public method

public __get ( $property )

_tovTodo() protected method

protected _tovTodo ( )

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, $value, $ns = null )
$type integer The attribute type descriptor.
$name integer The attribute name descriptor.

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

$_bodyHtml protected_oe property

HTML body.
protected string $_bodyHtml
return string

$_bodyPlain protected_oe property

Plain body
protected string $_bodyPlain
return string

$_completed protected_oe property

Timestamp when task was completed.
protected int $_completed
return integer

$_due protected_oe property

Due date (timestamp).
protected integer. $_due
return integer.

$_guid protected_oe property

UID
protected string $_guid
return string

$_lastUser protected_oe property

Last user to modify the request.
protected string $_lastUser
return string

$_messageClass protected_oe property

The MAPI_MESSAGE_CLASS
protected string $_messageClass
return string

$_method protected_oe property

The METHOD to use in the generated vTodo component. Default to REQUEST since TNEF files are generally not used for PUBLISH.
protected string $_method
return string

$_msgformat protected_oe property

protected int $_msgformat
return integer

$_owner protected_oe property

The current owner of the task. Note, this is the CURRENT owner, so for the initial REQUEST, this will be empty. MS doesn't consider the task creator the owner in this context.
protected string $_owner
return string

$_ownership protected_oe property

The MAPI_TASK_OWNERSHIP value.
protected int $_ownership
return integer

$_percentComplete protected_oe property

Percentage of task that is completed.
protected int $_percentComplete
return integer

$_rtfCompressed protected_oe property

Compressed RTF body.
protected string $_rtfCompressed
return string

$_start protected_oe property

Start time of task.
protected int $_start
return integer

$_state protected_oe property

The MAPI_TASK_STATE value. Used to help determine METHOD.
protected integer. $_state
return integer.

$_status protected_oe property

Status of task.
protected string $_status
return string

$_updates protected_oe property

If true, assignee is requested to send updates.
protected bool $_updates
return boolean

$type public_oe property

The MIME type of this object's content.
public string $type
return string