PHP Class Horde_ActiveSync_Mime_Iterator, horde

Since: 2.29.0
Author: Michael J Rubinsky ([email protected])
Author: Michael Slusarz ([email protected])
Inheritance: implements Countable, implements Iterator
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_ignoreAttachments boolean Flag to ignore parts that EAS considers attachments.
$_part Horde_Mime_Part Base part.
$_state object State data.

Méthodes publiques

Méthode Description
__construct ( Horde_Mime_Part $part, $ignoreAttachments = false ) Constructor.
count ( ) : integer Returns the number of message parts.
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Méthodes protégées

Méthode Description
_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 )

Method Details

__construct() public méthode

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

_allowRecursion() protected méthode

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.
Résultat boolean True is we can descend into the part. False otherwise.

_isAttachment() protected méthode

protected _isAttachment ( $part )

count() public méthode

Returns the number of message parts.
public count ( ) : integer
Résultat integer Number of message parts.

current() public méthode

public current ( )

key() public méthode

public key ( )

next() public méthode

public next ( )

rewind() public méthode

public rewind ( )

valid() public méthode

public valid ( )

Property Details

$_ignoreAttachments protected_oe property

Flag to ignore parts that EAS considers attachments.
protected bool $_ignoreAttachments
Résultat boolean

$_part protected_oe property

Base part.
protected Horde_Mime_Part $_part
Résultat Horde_Mime_Part

$_state protected_oe property

State data.
protected object $_state
Résultat object