PHP Class Horde_Imap_Client_Ids_Map, horde

Since: 2.1.0
Author: Michael Slusarz ([email protected])
Inheritance: implements Countable, implements IteratorAggregate, implements Serializable
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_ids array Sequence -> UID mapping.
$_sorted boolean Is the array sorted?

Méthodes publiques

Méthode Description
__construct ( array $ids = [] ) Constructor.
__get ( $name )
count ( )
getIterator ( )
lookup ( Horde_Imap_Client_Ids $ids ) : array Create a Sequence <-> UID lookup table.
remove ( Horde_Imap_Client_Ids $ids ) Removes messages from the ID mapping.
serialize ( )
sort ( ) Sort the map.
unserialize ( $data )
update ( array $ids ) : boolean Updates the mapping.

Method Details

__construct() public méthode

Constructor.
public __construct ( array $ids = [] )
$ids array Array of sequence -> UID mapping.

__get() public méthode

public __get ( $name )

count() public méthode

public count ( )

getIterator() public méthode

public getIterator ( )

lookup() public méthode

Create a Sequence <-> UID lookup table.
public lookup ( Horde_Imap_Client_Ids $ids ) : array
$ids Horde_Imap_Client_Ids IDs to lookup.
Résultat array Keys are sequence numbers, values are UIDs.

remove() public méthode

Removes messages from the ID mapping.
public remove ( Horde_Imap_Client_Ids $ids )
$ids Horde_Imap_Client_Ids IDs to remove.

serialize() public méthode

public serialize ( )

sort() public méthode

Sort the map.
public sort ( )

unserialize() public méthode

public unserialize ( $data )

update() public méthode

Updates the mapping.
public update ( array $ids ) : boolean
$ids array Array of sequence -> UID mapping.
Résultat boolean True if the mapping changed.

Property Details

$_ids protected_oe property

Sequence -> UID mapping.
protected array $_ids
Résultat array

$_sorted protected_oe property

Is the array sorted?
protected bool $_sorted
Résultat boolean