\Horde_Compress_Tnef_Date

Object to parse and represent a date encapsulated by a TNEF file.

Summary

Methods
Properties
Constants
__construct()
setTnefAttribute()
setMapiAttribute()
toArray()
$date
No constants found
_getx()
_geti()
$_logger
$_data
$_options
N/A
No private methods found
No private properties found
N/A

Properties

$date

$date : 

Type

$_logger

$_logger : \Horde_Log_Logger

Type

\Horde_Log_Logger

$_data

$_data : string

Type

string

$_options

$_options : array

Type

array

Methods

__construct()

__construct(  $data) 

Parameters

$data

setTnefAttribute()

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.

Parameters

integer $attribute

The attribute descriptor.

mixed $value

The value from the MAPI stream.

integer $size

The byte length of the data, as reported by the MAPI data.

setMapiAttribute()

setMapiAttribute(integer  $type, integer  $name,   $value) 

Allow this object to set any MAPI attributes it needs to know about, ignore any it doesn't care about.

Parameters

integer $type

The attribute type descriptor.

integer $name

The attribute name descriptor.

$value

toArray()

toArray() : array

Output the data for this object in an array.

Returns

array —
  • type: (string) The MIME type of the content.
    • subtype: (string) The MIME subtype.
    • name: (string) The filename.
    • stream: (string) The file data.

_getx()

_getx(  $data, integer  $bytes) : string

Pop specified number of bytes from the buffer.

Parameters

$data
integer $bytes

How many bytes to retrieve.

Returns

string —

The specified number of bytes from $data.

_geti()

_geti(  $data, integer  $bits) : integer

Pop specified number of bits from the buffer

Parameters

$data
integer $bits

How many bits to retrieve.

Returns

integer —

The value from $data.