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

Public Methods

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

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

__toString() public method

public __toString ( )

add() public method

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?
return Horde_Imap_Client_Data_Format_List This object to allow for chainable calls (since 2.10.0).

count() public method

public count ( )

getIterator() public method

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