PHP Класс Horde_ActiveSync_Mime_Iterator, horde

С версии: 2.29.0
Автор: Michael J Rubinsky ([email protected])
Автор: Michael Slusarz ([email protected])
Наследование: implements Countable, implements Iterator
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$_ignoreAttachments boolean Flag to ignore parts that EAS considers attachments.
$_part Horde_Mime_Part Base part.
$_state object State data.

Открытые методы

Метод Описание
__construct ( Horde_Mime_Part $part, $ignoreAttachments = false ) Constructor.
count ( ) : integer Returns the number of message parts.
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Защищенные методы

Метод Описание
_allowRecursion ( Horde_Mime_Part $part ) : boolean Return whether or not to allow recursion into a mime part when iterating all of the parts. So far, only disallows this for message/rfc822 parts to prevent each mime part of the rfc822 part to display as an attachment.
_isAttachment ( $part )

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Horde_Mime_Part $part, $ignoreAttachments = false )
$part Horde_Mime_Part

_allowRecursion() защищенный Метод

Return whether or not to allow recursion into a mime part when iterating all of the parts. So far, only disallows this for message/rfc822 parts to prevent each mime part of the rfc822 part to display as an attachment.
protected _allowRecursion ( Horde_Mime_Part $part ) : boolean
$part Horde_Mime_Part The part to check.
Результат boolean True is we can descend into the part. False otherwise.

_isAttachment() защищенный Метод

protected _isAttachment ( $part )

count() публичный Метод

Returns the number of message parts.
public count ( ) : integer
Результат integer Number of message parts.

current() публичный Метод

public current ( )

key() публичный Метод

public key ( )

next() публичный Метод

public next ( )

rewind() публичный Метод

public rewind ( )

valid() публичный Метод

public valid ( )

Описание свойств

$_ignoreAttachments защищенное свойство

Flag to ignore parts that EAS considers attachments.
protected bool $_ignoreAttachments
Результат boolean

$_part защищенное свойство

Base part.
protected Horde_Mime_Part $_part
Результат Horde_Mime_Part

$_state защищенное свойство

State data.
protected object $_state
Результат object