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
显示文件 Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_ignoreAttachments boolean Flag to ignore parts that EAS considers attachments.
$_part Horde_Mime_Part Base part.
$_state object State data.

Public Methods

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

Protected Methods

Method 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 method

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

_allowRecursion() protected method

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

_isAttachment() protected method

protected _isAttachment ( $part )

count() public method

Returns the number of message parts.
public count ( ) : integer
return integer Number of message parts.

current() public method

public current ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )

Property Details

$_ignoreAttachments protected_oe property

Flag to ignore parts that EAS considers attachments.
protected bool $_ignoreAttachments
return boolean

$_part protected_oe property

Base part.
protected Horde_Mime_Part $_part
return Horde_Mime_Part

$_state protected_oe property

State data.
protected object $_state
return object