PHP 클래스 Horde_ActiveSync_Mime, horde

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_base Horde_Mime_Part The composited mime part.
$_hasAttachments boolean Local cache of hasAttachments data.

공개 메소드들

메소드 설명
__call ( string $method, array $params ) : mixed Delegate calls to the composed MIME object.
__construct ( Horde_Mime_Part $mime ) Cont'r
__destruct ( )
__get ( string $property ) : mixed Accessor
findBody ( string $subtype = null ) : mixed Finds the main "body" text part (if any) in a message. "Body" data is the first text part under this part. Considers only body data that should be displayed as the main body on an EAS client. I.e., this ignores any text parts contained withing "attachment" parts such as messages/rfc822 attachments.
hasAttachments ( ) : boolean Return the hasAttachments flag
hasiCalendar ( ) : mixed Return the MIME part of the iCalendar attachment, if available.
isAttachment ( string $id, string $mime_type ) : boolean Determines if a MIME type is an attachment.
isEncrypted ( Horde_Mime_Part $mime = null ) : boolean Return the S/MIME encryption status of this message.
isSigned ( Horde_Mime_Part $mime = null ) : boolean Return the S/MIME status of this message (RFC2633)

메소드 상세

__call() 공개 메소드

Delegate calls to the composed MIME object.
public __call ( string $method, array $params ) : mixed
$method string The method name.
$params array The parameters.
리턴 mixed

__construct() 공개 메소드

Cont'r
public __construct ( Horde_Mime_Part $mime )
$mime Horde_Mime_Part The mime data.

__destruct() 공개 메소드

public __destruct ( )

__get() 공개 메소드

Accessor
public __get ( string $property ) : mixed
$property string The property name.
리턴 mixed

findBody() 공개 메소드

Finds the main "body" text part (if any) in a message. "Body" data is the first text part under this part. Considers only body data that should be displayed as the main body on an EAS client. I.e., this ignores any text parts contained withing "attachment" parts such as messages/rfc822 attachments.
public findBody ( string $subtype = null ) : mixed
$subtype string Specifically search for this subtype.
리턴 mixed The MIME ID of the main body part, or null if a body part is not found.

hasAttachments() 공개 메소드

Return the hasAttachments flag
public hasAttachments ( ) : boolean
리턴 boolean

hasiCalendar() 공개 메소드

Return the MIME part of the iCalendar attachment, if available.
public hasiCalendar ( ) : mixed
리턴 mixed The mime id of an iCalendar part, if present. Otherwise false.

isAttachment() 공개 메소드

For our purposes, an attachment is any MIME part that can be downloaded by itself (i.e. all the data needed to view the part is contained within the download data).
public isAttachment ( string $id, string $mime_type ) : boolean
$id string The MIME Id for the part we are checking.
$mime_type string The MIME type.
리턴 boolean True if an attachment.

isEncrypted() 공개 메소드

Return the S/MIME encryption status of this message.
부터: 2.20.0
public isEncrypted ( Horde_Mime_Part $mime = null ) : boolean
$mime Horde_Mime_Part
리턴 boolean True if message is S/MIME encrypted, otherwise false.

isSigned() 공개 메소드

Return the S/MIME status of this message (RFC2633)
public isSigned ( Horde_Mime_Part $mime = null ) : boolean
$mime Horde_Mime_Part
리턴 boolean True if message is S/MIME signed, otherwise false.

프로퍼티 상세

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

The composited mime part.
protected Horde_Mime_Part $_base
리턴 Horde_Mime_Part

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

Local cache of hasAttachments data.
protected bool $_hasAttachments
리턴 boolean