PHP 클래스 Horde_Compress_Tnef, horde

The TNEF rendering is based on code by: Graham Norbury Original design by: Thomas Boll , Mark Simpson Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Jan Schneider ([email protected])
저자: Michael Slusarz ([email protected])
저자: Michael J Rubinsky ([email protected])
상속: extends Horde_Compress_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$canDecompress

보호된 프로퍼티들

프로퍼티 타입 설명
$_attachments Collection of embedded TNEF attachments within the outer TNEF file.
$_currentObject Horde_Compress_Tnef_Object The TNEF object currently being decoded.
$_files Collection of files contained in the TNEF data.
$_msgInfo Horde_Compress_Tnef_MessageData

공개 메소드들

메소드 설명
decompress ( $data, array $params = [] ) : array Decompress the TNEF data. For BC reasons we can only return a numerically indexed array of object data. For more detailed information, use self::getFiles(), self::getAttachements(), and self::getMsgInfo().
getAttachments ( ) : array Return the collection of embedded attachments.
getFiles ( ) : array Return the collection of files in the TNEF data.
getMsgInfo ( ) : array Return the message information data.
setCurrentObject ( Horde_Compress_Tnef_Object $object ) Sets the current object being decompressed.

보호된 메소드들

메소드 설명
_decodeAttachment ( &$data ) : [type] Decodes all LVL_ATTACHMENT data. Attachment data MUST be at the end of TNEF stream. First LVL_ATTACHMENT MUST be ARENDDATA (attAttachRendData).
_decodeAttribute ( &$data ) Decode a single attribute.
_decodeMessageProperty ( &$data ) : [type] Decodes TNEF attributes.
_extractMapiAttributes ( string $data ) Extract a set of encapsulated MAPI properties. Normally either embedded in an attachment structure, or an idMessageProperty structure.
_geti ( &$data, integer $bits ) : TODO Pop specified number of bits from the buffer
_getx ( &$data, integer $bytes ) Pop specified number of bytes from the buffer.
_toNamespaceGUID ( $value )

메소드 상세

_decodeAttachment() 보호된 메소드

From MS-OXTNEF: ; An attachment is determined/delimited by attAttachRendData, followed by ; other encoded attributes, if any, and ending with attAttachment ; if there are any encoded properties. AttachData = AttachRendData [*AttachAttribute] [AttachProps] AttachRendData = attrLevelAttachment idAttachRendData Length Data Checksum AttachAttribute = attrLevelAttachment idAttachAttr Length Data Checksum AttachProps = attrLevelAttachment idAttachment Length Data Checksum
protected _decodeAttachment ( &$data ) : [type]
리턴 [type]

_decodeAttribute() 보호된 메소드

Decode a single attribute.
protected _decodeAttribute ( &$data )

_decodeMessageProperty() 보호된 메소드

Decodes TNEF attributes.
protected _decodeMessageProperty ( &$data ) : [type]
리턴 [type]

_extractMapiAttributes() 보호된 메소드

Extract a set of encapsulated MAPI properties. Normally either embedded in an attachment structure, or an idMessageProperty structure.
protected _extractMapiAttributes ( string $data )
$data string The data string.

_geti() 보호된 메소드

Pop specified number of bits from the buffer
protected _geti ( &$data, integer $bits ) : TODO
$bits integer How many bits to retrieve.
리턴 TODO

_getx() 보호된 메소드

Pop specified number of bytes from the buffer.
protected _getx ( &$data, integer $bytes )
$bytes integer How many bytes to retrieve.

_toNamespaceGUID() 보호된 메소드

protected _toNamespaceGUID ( $value )

decompress() 공개 메소드

Decompress the TNEF data. For BC reasons we can only return a numerically indexed array of object data. For more detailed information, use self::getFiles(), self::getAttachements(), and self::getMsgInfo().
public decompress ( $data, array $params = [] ) : array
$params array
리턴 array The decompressed data.

getAttachments() 공개 메소드

Return the collection of embedded attachments.
public getAttachments ( ) : array
리턴 array @see self::$_attachments

getFiles() 공개 메소드

Return the collection of files in the TNEF data.
public getFiles ( ) : array
리턴 array @see self::$_files

getMsgInfo() 공개 메소드

Return the message information data.
public getMsgInfo ( ) : array
리턴 array @see self::$_msgInfo

setCurrentObject() 공개 메소드

Sets the current object being decompressed.
public setCurrentObject ( Horde_Compress_Tnef_Object $object )
$object Horde_Compress_Tnef_Object

프로퍼티 상세

$_attachments 보호되어 있는 프로퍼티

Collection of embedded TNEF attachments within the outer TNEF file.
protected $_attachments

$_currentObject 보호되어 있는 프로퍼티

The TNEF object currently being decoded.
protected Horde_Compress_Tnef_Object $_currentObject
리턴 Horde_Compress_Tnef_Object

$_files 보호되어 있는 프로퍼티

Collection of files contained in the TNEF data.
protected $_files

$_msgInfo 보호되어 있는 프로퍼티

protected Horde_Compress_Tnef_MessageData $_msgInfo
리턴 Horde_Compress_Tnef_MessageData

$canDecompress 공개적으로 프로퍼티

public $canDecompress