PHP Класс 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.
Автор: Michael Slusarz ([email protected])
Наследование: extends Horde_Imap_Client_Data_Format, implements Countable, implements IteratorAggregate
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

См. также: add()
public __construct ( $data = null )

__toString() публичный Метод

public __toString ( )

add() публичный Метод

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?
Результат Horde_Imap_Client_Data_Format_List This object to allow for chainable calls (since 2.10.0).

count() публичный Метод

public count ( )

getIterator() публичный Метод

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