PHP Класс Horde_ActiveSync_Mime, horde

С версии: 2.19.0
Автор: Michael J Rubinsky ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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