PHP 클래스 Horde_ActiveSync_Rfc822, horde

저자: Michael J Rubinsky ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$memoryLimit integer The memory limit for use with the PHP temp stream.

보호된 프로퍼티들

프로퍼티 타입 설명
$_eol integer The size of the EOL sequence.
$_hdr_pos integer Position of end of headers.
$_header_text string The header text.
$_stream Horde_Stream The raw message data in a stream.

공개 메소드들

메소드 설명
__construct ( mixed $rfc822, boolean $auto_add_headers = true ) Constructor.
addStandardHeaders ( ) Check for and add standard headers if needed.
getBytes ( ) : integer Return the length of the message data.
getHeaders ( ) : Horde_Mime_Headers Return the message headers.
getMessage ( ) : Horde_Stream Returns the raw message with the message headers stripped.
getMimeObject ( ) : Horde_Mime_Part Return a Mime object representing the entire message.
getString ( ) : stream Return the raw message data.
replaceMime ( Horde_Mime_Part $part ) Replace the MIME part of the message sent from the client. Headers from the original message are always used.

보호된 메소드들

메소드 설명
_findHeader ( ) : array Find the location of the end of the header text.
_parseStream ( Horde_Stream $stream ) Parse a Horde_Stream object to get the header and eol data.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( mixed $rfc822, boolean $auto_add_headers = true )
$rfc822 mixed The incoming message. Either a string or a stream resource.
$auto_add_headers boolean Automatically add the standard Message-ID and User-Agent headers? @since 2.14.0

_findHeader() 보호된 메소드

Find the location of the end of the header text.
protected _findHeader ( ) : array
리턴 array 1st element: Header position, 2nd element: Length of trailing EOL.

_parseStream() 보호된 메소드

Parse a Horde_Stream object to get the header and eol data.
protected _parseStream ( Horde_Stream $stream )
$stream Horde_Stream The stream object.

addStandardHeaders() 공개 메소드

Check for and add standard headers if needed.
부터: 2.14.0
public addStandardHeaders ( )

getBytes() 공개 메소드

Return the length of the message data.
public getBytes ( ) : integer
리턴 integer

getHeaders() 공개 메소드

Return the message headers.
public getHeaders ( ) : Horde_Mime_Headers
리턴 Horde_Mime_Headers The header object.

getMessage() 공개 메소드

Returns the raw message with the message headers stripped.
public getMessage ( ) : Horde_Stream
리턴 Horde_Stream

getMimeObject() 공개 메소드

Return a Mime object representing the entire message.
public getMimeObject ( ) : Horde_Mime_Part
리턴 Horde_Mime_Part The Mime object.

getString() 공개 메소드

Return the raw message data.
public getString ( ) : stream
리턴 stream resource

replaceMime() 공개 메소드

Replace the MIME part of the message sent from the client. Headers from the original message are always used.
부터: 2.19.0
public replaceMime ( Horde_Mime_Part $part )
$part Horde_Mime_Part The new MIME part.

프로퍼티 상세

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

The size of the EOL sequence.
protected int $_eol
리턴 integer

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

Position of end of headers.
protected int $_hdr_pos
리턴 integer

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

The header text.
protected string $_header_text
리턴 string

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

The raw message data in a stream.
protected Horde_Stream $_stream
리턴 Horde_Stream

$memoryLimit 공개적으로 정적으로 프로퍼티

The memory limit for use with the PHP temp stream.
public static int $memoryLimit
리턴 integer