PHP Class Horde_Imap_Client_Data_Format_List, horde

Copyright 2012 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Imap_Client_Data_Format, implements Countable, implements IteratorAggregate
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $data = null )
__toString ( )
add ( mixed $data, boolean $merge = false ) : Horde_Imap_Client_Data_Format_List Add an element to the list.
count ( )
getIterator ( ) Iterator loops through the data elements contained in this list.

Method Details

__construct() public méthode

See also: add()
public __construct ( $data = null )

__toString() public méthode

public __toString ( )

add() public méthode

Add an element to the list.
public add ( mixed $data, boolean $merge = false ) : Horde_Imap_Client_Data_Format_List
$data mixed The data element(s) to add. Either a Horde_Imap_Client_Data_Format object, a string value that will be treated as an IMAP atom, or an array (or iterable object) of objects to add.
$merge boolean Merge the contents of any container objects, instead of adding the objects themselves?
Résultat Horde_Imap_Client_Data_Format_List This object to allow for chainable calls (since 2.10.0).

count() public méthode

public count ( )

getIterator() public méthode

Iterator loops through the data elements contained in this list.
public getIterator ( )