\Horde_Mapi

Utility functions for dealing with Microsoft MAPI structures.

Copyright 2009-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
isLittleEndian()
chbo()
getUidFromGoid()
createGoid()
filetimeToUnixtime()
No public properties found
No constants found
_flipEndian()
_hexToBcint()
_win64ToUnix()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

isLittleEndian()

isLittleEndian() : boolean

Determine if the current machine is little endian.

Returns

boolean —

True if endianness is little endian, otherwise false.

chbo()

chbo(integer  $num) : integer

Change the byte order of a number. Used to allow big endian machines to decode the timezone blobs, which are encoded in little endian order.

Parameters

integer $num

The number to reverse.

Returns

integer —

The number, in the reverse byte order.

createGoid()

createGoid(string  $uid,   $options = array()) : string

Create a MAPI GOID from a UID See http://msdn.microsoft.com/en-us/library/ee157690%28v=exchg.80%29

Parameters

string $uid

The UID value to encode.

$options

Returns

string —

A Base64 encoded GOID

_flipEndian()

_flipEndian(  $str) 

Parameters

$str

_hexToBcint()

_hexToBcint(  $str) 

Parameters

$str

_win64ToUnix()

_win64ToUnix(  $bci) 

Parameters

$bci